Commit Graph

3037 Commits

Author SHA1 Message Date
Alex Roitman
275c495a32 2006-07-16 Alex Roitman <shura@gramps-project.org>
* src/plugins/Checkpoint.py (Checkpoint.run_tool): Add busy cursor.



svn: r7033
2006-07-16 15:00:35 +00:00
Alex Roitman
cf0449db8f 2006-07-16 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/ViewManager.py: Custom name format support.
	* src/GrampsCfg.py: Custom name format support.
	* src/RelLib/_Name.py: Custom name format support.
	* src/Editors/_EditName.py: Custom name format support.
	* src/glade/gramps.glade: Custom name format support.
	* src/NameDisplay.py: Custom name format support.



svn: r7032
2006-07-16 14:44:13 +00:00
Don Allingham
30bdb04b8c 2006-07-15 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: remove unused USE_LDS key
	* data/gramps.schemas.in: remove unused USE_LDS key
	* src/StartupDialog.py: remove uused USE_LDS key



svn: r7030
2006-07-16 04:25:39 +00:00
Don Allingham
913d4f4772 * src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
svn: r7028
2006-07-15 05:14:39 +00:00
Don Allingham
0b3c635f89 2006-07-14 Don Allingham <don@gramps-project.org>
* src/DbLoader.py (DbLoader.read_file): handle DBAccessError



svn: r7027
2006-07-15 03:56:13 +00:00
Brian Matherly
8df0605b3b * src/plugins/NarrativeWeb.py: HTML validation fixes
svn: r7026
2006-07-13 04:13:19 +00:00
Brian Matherly
0f9e40c4f2 * src/plugins/_CommandLineReport.py: missing import - CustomFilters
svn: r7025
2006-07-13 03:51:10 +00:00
Don Allingham
ad5130dbf6 2006-07-12 Don Allingham <don@gramps-project.org>
* src/Filters/Rules/Family/_RegExpIdOf.py: new family filter
	* src/Filters/Rules/Family/_HasNoteRegexp.py: new family filter
	* src/Filters/Rules/Family/_HasIdOf.py: new family filter
	* src/Filters/Rules/Family/__init__.py: add new filters
	* src/Filters/Rules/Family/_HasNoteMatchingSubstringOf.py: new family filter
	* src/Filters/Rules/Family/_AllFamilies.py: new family filter
	* src/Filters/Rules/_HasNoteSubstrBase.py: new common bases
	* src/Filters/Rules/_RegExpIdBase.py: new common bases
	* src/Filters/Rules/_HasGrampsId.py: new common bases
	* src/Filters/Rules/Person/__init__.py: update
	* src/Filters/Rules/Person/_HasIdOf.py: use new common base
	* src/Filters/Rules/Person/_HasNoteRegexp.py: use new common base
	* src/Filters/Rules/_HasNoteRegexBase.py: new common base
	* src/Filters/_FamilySidebarFilter.py: use family filters instead of
	person filters



svn: r7020
2006-07-12 19:20:54 +00:00
Don Allingham
88f90e3ecd * po/gramps.pot: remove autogenerated file
svn: r7019
2006-07-12 03:22:53 +00:00
Don Allingham
78a01a2503 * src/ViewManager.py: fix default state of filter menu item
svn: r7018
2006-07-12 03:15:26 +00:00
Don Allingham
a1b1138569 2006-07-11 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: clean up
	* src/DataViews/_PedigreeView.py: clean up
	* src/DataViews/_MapView.py: clean up
	* src/ViewManager.py: better menu name



svn: r7017
2006-07-11 20:56:59 +00:00
Don Allingham
8236179ce3 * src/DataViews/_PersonView.py: catch config callback for sidebar
* src/ViewManager.py: catch config callback for sidebar
	* src/PageView.py: catch config callback for sidebar


svn: r7015
2006-07-10 21:46:46 +00:00
Don Allingham
e3edec3107 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
615716f0fb 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
846bfd9ab1 * src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for
person


svn: r7011
2006-07-09 02:47:34 +00:00
Don Allingham
ad18b4c0f1 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
185f1044b4 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
a7bd91a242 fix restoration of gallery setting for NarrativeWeb.py
svn: r7007
2006-07-08 04:10:42 +00:00
Alex Roitman
30b8f1bce2 * 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
05caffe3ed * src/GrampsCfg.py: add cell renderer to combobox
svn: r7001
2006-07-06 20:11:32 +00:00
Don Allingham
e7acefe0ee 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
154787c06c 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
4e3de8da45 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
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
452f641624 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
a2aceb58b0 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
724f41b4b8 * 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
1ab9acf99f * src/DataViews/_PlaceView.py: add attempt to map to google maps
svn: r6984
2006-07-04 03:53:51 +00:00
Don Allingham
872a650565 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
e593f5fd33 * various: pyflakes fixes
svn: r6982
2006-07-03 04:25:33 +00:00
Don Allingham
0114cd0bff 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
e719f97ff3 * src/DisplayState.py: fix spacing
svn: r6980
2006-07-02 05:11:47 +00:00
Don Allingham
9d57da77ee * src/DisplayTabs/_SourceEmbedList.py: check for empty reference
before attempting to edit


svn: r6979
2006-07-02 03:46:19 +00:00
Don Allingham
e842a07b65 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
3f750b2e40 * 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
1353edcca9 * 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
7d56d70075 font problems by switching fonts if needed
svn: r6975
2006-06-30 14:22:49 +00:00
Don Allingham
97c11250d4 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
a9919c995a 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
7ce909d3b5 remove duplicate birth and death events in reports (fixes bug #235)
svn: r6971
2006-06-28 04:01:14 +00:00
Brian Matherly
13e3d9e505 src/GampsLogger/_ErrorReportAssistant.py: fix error message in Windows
svn: r6970
2006-06-28 02:52:38 +00:00
Don Allingham
60d21403a7 * src/ReportBase/_ReportDialog.py (report): catch IOError
svn: r6969
2006-06-27 05:12:21 +00:00
Don Allingham
1aea8327ab 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
824ee8968c 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
1f356bc5b5 * src/plugins/BookReport.py: fix book loading
svn: r6966
2006-06-25 03:25:14 +00:00
Alex Roitman
a734940c05 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
ae8a270c53 * 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
27541aa86b 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
d04393b085 * 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
f44c52289b * src/GrampsDb/_WriteGedcom.py: Prevent writing empty value tags.
svn: r6957
2006-06-24 04:28:43 +00:00
Don Allingham
57954c387c * help/C/figures/*.png: updates
svn: r6956
2006-06-23 20:19:16 +00:00
Alex Roitman
a245cbd0dc 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
799abe7930 * help/C/gramps-manual.xml: updates
svn: r6952
2006-06-23 18:34:45 +00:00
Don Allingham
acca9a14bd 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
dc4b7dab9d 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
d9f1827ddb 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
8d74903031 * 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
b3a8324b78 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
0b6f8f5e45 Allow column sorting
svn: r6944
2006-06-22 00:09:20 +00:00
Don Allingham
a5a4eed7fc 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
1d830a0e43 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
dc01bb9e34 * src/DataViews/_PersonView.py: import QuestionDialog
svn: r6941
2006-06-21 19:46:27 +00:00
Alex Roitman
c67eb071d7 * 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
d48229472a 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
7a94d8a920 * src/DataViews/_RelationView.py: fix sets
svn: r6938
2006-06-21 19:29:36 +00:00
Alex Roitman
6edc7511be 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
2b165c7191 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
dce18d951d * src/Filters/_SidebarFilter.py: change from CLEAR to RESET
svn: r6930
2006-06-21 03:11:08 +00:00
Don Allingham
bba20d60c2 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
ead9d7c761 * src/DataViews/_PersonView.py (PersonView.person_updated): if surname
fails, recalculate data


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


svn: r6927
2006-06-20 21:18:49 +00:00
Don Allingham
bb9b456824 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
03474fa6e5 * 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
3b3a76a3f5 * 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
7c6b044711 * 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
f1950ef831 * src/Mime/_WinMime.py: Get application description from registry
svn: r6921
2006-06-20 02:55:36 +00:00
Don Allingham
e989a73aea * src/DataViews/_Relationship.py: handle person set to None
svn: r6920
2006-06-20 02:50:38 +00:00
Don Allingham
54eab375a6 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
0de586739e * 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
2069821307 * 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
8313723314 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
d5273baaf8 * src/images/ped24.ico: add icon
svn: r6912
2006-06-18 22:28:12 +00:00
Brian Matherly
3f9adb3771 Add mime support for Windows platform
svn: r6911
2006-06-18 20:58:25 +00:00
Don Allingham
c6b026e6dd * 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
14e0783dd4 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
09d839782f * src/DataViews/_RelationView.py: clear all subelements on redraw
svn: r6907
2006-06-17 04:20:27 +00:00
Don Allingham
2d50f33fb7 * src/PageView.py: set dirty flag appropriately
svn: r6906
2006-06-17 03:55:00 +00:00
Don Allingham
fe4bdbc9c1 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
7585b5e47d 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
fcf5cfbc48 * src/GrampsDb/_WriteGedcom.py: export QUAY
svn: r6901
2006-06-16 18:38:06 +00:00
Don Allingham
20ee3d9d2f 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
4cf930d039 * 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
8366c12818 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
55884a56d3 * 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
0e141aacd4 * 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
0c850aeda1 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
23cd9319f6 * src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
svn: r6893
2006-06-15 16:46:12 +00:00
Alex Roitman
28f16e56b0 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
fc74ec2662 * src/ScratchPad.py: check for null model
svn: r6891
2006-06-15 04:29:47 +00:00
Don Allingham
26f17e296e 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
5b113d9558 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
18aa102799 pass dbstate to report
svn: r6888
2006-06-14 01:36:23 +00:00
Don Allingham
cb2cebd7e9 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
e858a54456 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
44725c0640 * src/plugins/GraphVis.py: ues Mime instead of GrampsMime
svn: r6883
2006-06-13 02:08:11 +00:00
Don Allingham
4871ba35db 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
5810926898 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
8940cf321d * 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
8b770e1537 * 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
db962c63a6 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
5c89f8ed1e 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
4ab22011aa * src/GrampsDb/_GedTokens.py: handle some obscure tokens
svn: r6874
2006-06-08 04:51:45 +00:00
Alex Roitman
8a432c6c83 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
baeafc820a 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
b84541e824 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
7461974e33 * src/ReportBase/_BareReportDialog.py: missing import (Bug #0000180)
svn: r6869
2006-06-07 02:10:35 +00:00
Don Allingham
5801d77505 Added repository information
svn: r6868
2006-06-06 22:20:38 +00:00
Alex Roitman
8e06592375 * 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
c1f1b1723a 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
4e5ff5a16a 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
dd9c1a46ad 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
3c45dfe0bb * 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
6a1b76786c 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
47914d99f8 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
848e970ce3 * 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
a01e2bef1a 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
5848cf17b2 * 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
1b473c8178 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
5b88e0a716 add Table of Contents marks
svn: r6855
2006-06-04 04:26:28 +00:00
Don Allingham
97cec77029 (BackRefList.create_buttons): set tooltips
svn: r6854
2006-06-04 02:59:08 +00:00
Don Allingham
ecab6c97a8 * 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
f40c352aa4 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
79921262dd * src/FilterEditor/_ShowResults.py: use list instead of text display
svn: r6851
2006-06-03 04:31:59 +00:00
Brian Matherly
0c008ceb78 various: enhance indexing with IndexMark
svn: r6850
2006-06-03 03:32:26 +00:00
Don Allingham
20aa297a21 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
c3e6486db1 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
b7429b53fc typo
svn: r6846
2006-06-02 04:21:45 +00:00
Brian Matherly
1092ef14c4 misc typos
svn: r6845
2006-06-02 04:19:09 +00:00
Don Allingham
28d4740d3c 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
c1c7e1359a * 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
51f42ca315 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
60dd633324 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
f99fbb9fda * src/plugins/vaious: upgrade to new report interface
svn: r6838
2006-06-01 04:39:40 +00:00
Don Allingham
bf7247c5e4 * src/FilterEditor/_FilterEditor.py: moved from plugins, renamed
svn: r6837
2006-06-01 04:15:57 +00:00
Don Allingham
5a1fa1c1c7 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
0addd2c59c * 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
cb63f90caa 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
a5385bc5b6 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
0ab5eb9a0d 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
57d09536b5 * src/PluginUtils/_ReportUtils.py: handle no person error
svn: r6818
2006-05-30 02:36:25 +00:00
Brian Matherly
8ebd09eabb insert name keys for indexing
svn: r6817
2006-05-30 01:18:41 +00:00
Alex Roitman
fe55f54624 * src/Editors/_EditFamily.py (EditFamily.save): Typo.
svn: r6816
2006-05-29 18:15:58 +00:00
Alex Roitman
cd1e48bcec 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
d9f56b7207 insert name keys for indexing
svn: r6814
2006-05-29 04:53:07 +00:00
Alex Roitman
6632b4ca0e * src/plugins/verify.glade: Add label.
svn: r6812
2006-05-29 03:34:26 +00:00
Alex Roitman
eee0ce5a1d * 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
1d225c91db Add name keys for indexing in reports
svn: r6809
2006-05-29 02:52:14 +00:00
Alex Roitman
e0642915d7 * src/Editors/_EditFamily.py (EditFamily.save): Typo.
svn: r6806
2006-05-29 02:46:00 +00:00
Alex Roitman
b23d78f2b0 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
4d83a7d828 * src/docgen/OpenOfficeDoc.py: Allow large cells to span pages (bug 0000165)
svn: r6803
2006-05-28 15:10:47 +00:00
Alex Roitman
1f5b6c5748 * src/plugins/Verify.py: More updates.
svn: r6799
2006-05-28 04:17:46 +00:00
Alex Roitman
ee0b61433d 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
58e213e22b Add provisions for local mo files for Windows
svn: r6797
2006-05-27 21:04:44 +00:00
Brian Matherly
ba3fc60e51 src/plugins/IndivComplete.py: Add event notes
svn: r6796
2006-05-27 03:39:43 +00:00
Alex Roitman
6db98a5e1f * 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
b9cd8ee6c8 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
c5f3eed5b6 Update
svn: r6791
2006-05-26 23:08:27 +00:00
Don Allingham
8ec6242dd7 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
6a52f53e2a * src/DisplayTabs/_NoteTab.py (NoteTab.flow_changed): save flow status
in Note


svn: r6787
2006-05-26 04:09:36 +00:00
Don Allingham
1772ac7d01 * 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
82647857d3 * src/Makefile.am: remove deleted files
svn: r6785
2006-05-26 00:44:18 +00:00
Don Allingham
6b7ed2cbc4 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
cbc4c8fef5 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
594ce4ce53 * src/Merge/_MergePlace.py: handle notes
* src/glade/mergedata.glade: handle notes


svn: r6779
2006-05-25 23:43:34 +00:00
Don Allingham
305b3d7bd1 * 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
d5f33362ac * src/DataViews/_SourceView.py: source merge support
svn: r6777
2006-05-25 20:35:04 +00:00
Don Allingham
081f5079d5 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
b84af9322a 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
00a5154a67 * 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
57bb0ce78c * 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
5017c4a1e7 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
54e3f6908d * 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
4cb9bb81b2 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
8847f3d1cc 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
b8ff094aa6 * 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
74b55ce32a 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
d1d1c2fb5b 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
9e45d663b6 * 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
b2e8acc59d * 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
c1e6f1a089 * 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
329fbc5896 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
fbdf65148e 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
8b9b3112d8 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
4200f34ab2 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
cb0b034e70 * 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
9fa0c2bd12 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
9056f20f16 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
eb343d07c2 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
38f4cd7e85 src/plugins/TimeLine.py: round all dates to nearest decade
svn: r6746
2006-05-22 02:57:27 +00:00
Don Allingham
99a2140ba1 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
3875cdb615 src/plugins/GraphViz.py: fix unicode encoding
svn: r6744
2006-05-22 01:55:15 +00:00
Alex Roitman
347a488142 * src/GrampsDb/_WriteGedcom.py: Repository export.
svn: r6743
2006-05-21 23:32:34 +00:00
Brian Matherly
2b1459deac * 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
1766750f8e * src/GrampsDb/_GrampsInMemDB.py (GrampsInMemDB.__init__): Remove
unused variables.


svn: r6740
2006-05-21 21:07:15 +00:00
Alex Roitman
d642d36113 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
63ab257ab0 * 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
d0b7be73ff src/plugins/GraphViz.py.in: fix file open.
svn: r6737
2006-05-21 20:39:14 +00:00
Alex Roitman
7cd3d8e028 * src/const.py.in: Use gettext.
* src/GrampsDb/_ConstXML.py: Remove file.


svn: r6736
2006-05-21 20:27:46 +00:00
Alex Roitman
c531fc65bc 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
230ec2bf8a 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
beb85185a1 * src/GrampsDb/_WriteGedcom.py (write_repos): Add method.
svn: r6733
2006-05-21 04:14:47 +00:00
Alex Roitman
b50cdad0c2 * 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
419128d50d 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
fb6dbd905c * 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
ff07f8407f * 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
54ea5271e0 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
2fbeb27535 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
394f2d2749 * 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
76ea8437ed 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
ea394fd4d2 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
e4b2a9f565 (commit_*): update custom type sets on commit.
svn: r6719
2006-05-19 00:39:22 +00:00
Alex Roitman
9203f6b32d * 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
d988d138f7 * src/DisplayTabs/_BackRefList.py (edit_button_clicked): Typo.
svn: r6717
2006-05-18 23:16:49 +00:00
Alex Roitman
624138a2a4 * 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
94364fc81a * 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
addf03a616 * 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
a265eac5e4 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
85537e7f85 state/city mapping
svn: r6711
2006-05-18 17:16:03 +00:00
Don Allingham
eb510527db fix ansel detection
svn: r6710
2006-05-18 16:08:56 +00:00
Don Allingham
382ae81515 Fix media ref glade description
svn: r6709
2006-05-18 15:22:53 +00:00
Alex Roitman
4da1b1b579 * src/GrampsDb/_ReadXML.py (start_childref): Typo.
svn: r6705
2006-05-18 04:40:37 +00:00
Alex Roitman
8215cf553d * src/GrampsDb/_ReadGrdb.py: Add repos, modularize.
svn: r6704
2006-05-18 04:16:54 +00:00
Alex Roitman
ad2e6ddbeb 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
ae6da05e4b 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
ae8ec93201 * 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
d95f546782 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
d3c9a148dd 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
b06911309a * 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
0a2c8f684f * src/Editors/_EditEventRef.py: new SelectPlace interface, remove
old code


svn: r6696
2006-05-17 20:21:16 +00:00
Don Allingham
9b03472a0a 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
25860314ed 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
89e9846b79 Update.
svn: r6693
2006-05-17 14:42:36 +00:00
Martin Hawlisch
9904f654f3 * 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
b21da17659 * 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
a90a6fb15f 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
3b894e16dd * 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
c238d31795 * 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
5bfd79c6a3 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
3b6d63e48f 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
66c08cbf34 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
387f33c94a * src/DataViews/_PedigreeView.py: work around bug in database-changed signals
svn: r6681
2006-05-16 14:57:17 +00:00
Martin Hawlisch
2bc240dd5f * src/DataViews/_PedigreeView.py: Add navigation-arrows to the tree
svn: r6680
2006-05-16 13:53:11 +00:00
Alex Roitman
160ae6fb4f 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
392f412261 * 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
01484991db 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
641e50000b * src/ViewManager.py (save_as_activate): Use Save button in dialog.
svn: r6676
2006-05-15 22:04:49 +00:00
Don Allingham
f4424a4c2c * src/DisplayTabs/_PersonEventEmbedList.py: fix selection of default type
svn: r6675
2006-05-15 21:59:14 +00:00
Alex Roitman
d7c9ed7be5 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
dc7053df55 * 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
67475a87cd * 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
542927d48a 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
fc36af2974 * src/DataViews/_SourceView.py (edit,on_double_click): Catch exception.
svn: r6670
2006-05-15 16:03:10 +00:00
Alex Roitman
e0b3dc141d In .:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Generate new Makefile.
	* src/Makefile.am: adapt to new module.
	* src/Selectors: separate selectors in their own module.
	* src/Select*.py: move to Selectors.
	* src/DataViews/_FamilyView.py: Use new module.
	* src/Editors/_EditLdsOrd.py: Use new module.
	* src/Editors/_EditPersonRef.py: Use new module.
	* src/Editors/_EditFamily.py: Use new module.
	* src/DisplayTabs/_SourceEmbedList.py: Use new module.
	* src/DisplayTabs/_RepoEmbedList.py: Use new module.
	* src/DisplayTabs/_EventEmbedList.py: Use new module.
	* src/DisplayTabs/_GalleryTab.py: Use new module.
	* src/plugins/FilterEditor.py: Use new module.
	* src/plugins/SimpleBookTitle.py: Use new module.
	* src/PluginUtils/_Report.py: Use new module.

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



svn: r6669
2006-05-15 15:53:42 +00:00
Alex Roitman
5de297d2d6 In .:
* src/Makefile.am (gdir_PYTHON): Add new file.
	* src/SelectRepository.py: Add new file.
	* src/DisplayTabs/_RepoEmbedList.py: Add share button.

In po:
	* POTFILES.in: Add new file.


svn: r6668
2006-05-15 06:40:54 +00:00
Alex Roitman
04ac1ec3e3 * configure.in: Set up for 2.1.3.
svn: r6667
2006-05-15 05:40:09 +00:00
Alex Roitman
4a72a456d8 * src/GrampsDb/_ReadXML.py (start_url): Parse URL type.
svn: r6666
2006-05-15 05:37:54 +00:00
Alex Roitman
1636a418cd * example/gramps/exapmle.gramps: Add repositories, use new XML.
* example/gramps/data.gramps: Add repositories, use new XML.


svn: r6665
2006-05-15 04:44:38 +00:00
Don Allingham
06c27271c5 * src/DataViews/_RepositoryView.py: column fixes
* src/DataViews/_SourceView.py: column fixes
	* src/DataViews/_EventView.py: column fixes
	* src/DataViews/_FamilyList.py: column fixes
	* src/DataViews/_PlaceView.py: column fixes
	* src/DataViews/_PersonView.py: column fixes
	* src/DisplayModels.py: column/sort fixes
	* src/PageView.py: column/sort fixes


svn: r6664
2006-05-15 04:14:03 +00:00
Alex Roitman
0511cb590d Update
svn: r6663
2006-05-15 04:13:46 +00:00
Alex Roitman
0ee9c5a676 2006-05-14 Alex Roitman <shura@gramps-project.org>
* src/DateHandler/__init__.py: Remove unneeded imports.
	* src/plugins/Calendar.py (print_page): Use GrampsLocale._months.



svn: r6662
2006-05-15 04:13:31 +00:00
Brian Matherly
8f314aa39b src/plugins/FamilyGroup.py: Fix for Event and EventType changes.
svn: r6661
2006-05-15 01:29:44 +00:00
Brian Matherly
e87756fb08 src/PluginUtils/_ReportUtils.py: Change strings to include gender instead of "child of"
svn: r6660
2006-05-15 00:43:41 +00:00
Don Allingham
c41dafef73 2006-05-14 Don Allingham <don@gramps-project.org>
* src/DateHandler/__init__.py: import DateParser and DateDisplay
	* src/DataViews/_PersonView.py: default gender filter to "any"
	* configure.in: bump up to 2.1.2



svn: r6659
2006-05-14 23:01:00 +00:00
Alex Roitman
6a47beca03 Update
svn: r6658
2006-05-14 20:32:19 +00:00
Alex Roitman
a5e00e22ed * src/DateHandler/__init__.py: Proper import sequence.
* src/DateHandler/_DateHandler.py: Split into parts.
	* src/DateHandler/_DateUtils.py: Add new file.
	* src/DateHandler/_Date_sk.py: Bring to the new module structure.
	* src/DateHandler/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/GrampsDb/_ReadGedcom.py: Import from proper module.



svn: r6657
2006-05-14 20:14:59 +00:00
Alex Roitman
1000571a10 In .:
* src/plugins/ChangeTypes.py (init_gui): Work around intltool bug.
In po:
2006-05-14  Alex Roitman  <shura@gramps-project.org>
	* gramps.pot: update.



svn: r6656
2006-05-14 19:27:38 +00:00
Alex Roitman
fa120b9468 * src/plugins/Summary.py: Set titles properly.
svn: r6655
2006-05-14 18:17:10 +00:00
Alex Roitman
6c0f00de89 * src/plugins/CountAncestors.py: Add window title, remove extra text.
svn: r6654
2006-05-14 18:07:03 +00:00
Alex Roitman
7addd50d00 2006-05-14 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module.



svn: r6653
2006-05-14 17:58:40 +00:00
Brian Matherly
85a4d328c9 src/PluginUtils/_Report.py: Fix custom paper size bug (bug #0000084)
svn: r6651
2006-05-14 06:34:18 +00:00
Brian Matherly
e8af75eb14 src/plugins/NarrativeWeb.py: Add option for number of generations in ancestor graph (bug # 0000077)
svn: r6649
2006-05-14 05:51:46 +00:00
Don Allingham
26548787a8 2006-05-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py (FamilyView.redraw): handle history



svn: r6648
2006-05-14 02:37:15 +00:00
Alex Roitman
ef7eb110fd * src/plugins/CmdRef.py (CmdRef.write_ref): Change the module name.
svn: r6647
2006-05-14 02:24:22 +00:00
Alex Roitman
bc12fea3ff * src/ViewManager.py (show_url): Set up link handler.
svn: r6646
2006-05-14 00:43:05 +00:00
Don Allingham
a5d0286efc 2006-05-13 Don Allingham <don@gramps-project.org>
* src/plugins/RelCalc.py: provide default search value



svn: r6645
2006-05-14 00:41:39 +00:00
Alex Roitman
969bc43555 * src/Config/_GrampsIniKeys.py (get_default): Add optional arg
indicating type.


svn: r6644
2006-05-13 05:54:07 +00:00
Alex Roitman
0ca3a01bd3 * src/Config/_GrampsGconfKeys.py (get_default): Allow other types.
* src/GrampsCfg.py (reset_colors): Emit color-set signal to
	trigget hex text updates.


svn: r6643
2006-05-13 05:53:47 +00:00
Don Allingham
1f96447335 * src/DataViews/_PersonView.py: add non-functioning (for now) clear
button
	* src/Config/_GrampsGconfKeys.py: get_default fix


svn: r6642
2006-05-13 05:36:55 +00:00
Don Allingham
9aa8094b00 2006-05-12 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: add revert option for colors
	* src/Config/_GrampsGconfKeys.py: added get_default
	* src/Config/_GrampsIniKeys.py: added get_default



svn: r6641
2006-05-13 05:12:19 +00:00
Alex Roitman
38c02eddce * data/gramps.schemas.in: Brighter colors to use with foreground.
svn: r6640
2006-05-13 04:59:06 +00:00
Alex Roitman
b9cc6e8bf0 2006-05-12 Alex Roitman <shura@gramps-project.org>
* src/GrampsCfg.py (add_color): Update text label after color change.



svn: r6638
2006-05-13 04:30:47 +00:00
Don Allingham
3bcc0dd4ff * src/ViewManager.py: move ScratchPad to Edit
* src/DataViews/_PersonView.py: set up new filter fields, remove
	source field


svn: r6637
2006-05-13 04:25:45 +00:00
Don Allingham
3b62238ba8 * src/GrampsCfg.py: fix color dialog buttons
* src/Filters/Rules/Person/_HasEvent.py: handle EventType


svn: r6635
2006-05-13 03:53:06 +00:00
Don Allingham
fdd56563e7 2006-05-12 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: set up new filter fields
	* src/Filters/Rules/Person/_RegExpIdOf.py: added
	* src/Filters/Rules/Person/__init__.py: added new files
	* src/Filters/Rules/Person/_HasNoteMatchingSubstringOf.py
	* src/Filters/Rules/Person/_HasBirth.py: use loose_data_cmp
	* src/Filters/Rules/Person/_SearchName.py: search all fields
	* src/Filters/Rules/Person/_HasDeath.py: use loose_data_cmp
	* src/Filters/Rules/Person/_RegExpName.py: added
	* src/Filters/Rules/Person/_MatchIdOf.py: added
	* src/Filters/Rules/Person/_HasNoteRegexp.py: added
	* src/Filters/Rules/Person/Makefile.am: added new files
	* src/Filters/Rules/_RuleUtils.py: added loose_date_cmp

2006-04-26  Martin Hawlisch  <Martin.Hawlisch@gmx.de>


svn: r6634
2006-05-12 22:38:48 +00:00
Martin Hawlisch
bf1a9212ff * data/gramps.schemas.in: Swap colors for ToDo and complete. Using green is more obvious for complete records.
svn: r6633
2006-05-12 19:48:45 +00:00
Don Allingham
8fc4565d1b * src/GrampsCfg.py: update for selectable colors, default colors
* data/gramps.schemas.in: update for selectable colors, default colors


svn: r6631
2006-05-12 18:49:12 +00:00
Alex Roitman
9e68a4b550 In .:
2006-05-12  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py (gtk_color_to_str): Better color to str.
	* src/QuestionDialog.py (QuestionDialog2.__init__): Use the
	underline for labels.
	* src/plugins/ChangeNames.py: Fix WM.
	* src/plugins/PatchNames.py: Fix WM.

In po:
	* gramps.pot: Update.


svn: r6630
2006-05-12 18:46:26 +00:00
Don Allingham
75d6553294 * src/GrampsCfg.py: update for selectable colors
* src/PeopleModel.py: update for selectable colors
	* data/gramps.schemas.in: update for selectable colors


svn: r6629
2006-05-12 18:20:18 +00:00
Don Allingham
63beadfa2d fix xml parsing path
svn: r6628
2006-05-12 17:20:19 +00:00
Don Allingham
05f3bd4b47 fix MonitoredDataType initialization
svn: r6627
2006-05-12 16:30:38 +00:00
Alex Roitman
0156d96382 * src/Filters/Makefile.am (pkgdata_PYTHON): Add new files.
* po/POTFILES.in: Add missing files.

svn: r6626
2006-05-12 15:05:47 +00:00
Don Allingham
a270b514e6 2006-05-11 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: add additional fields, and build
	filter
	* src/PeopleModel.py: handle both search and filters
	* src/Filters/_GenericFilter.py: import RelLib



svn: r6625
2006-05-12 04:51:44 +00:00
Alex Roitman
159f9423d4 (UndoHistory._selection_changed): Enable/disable buttons.
svn: r6624
2006-05-12 01:01:10 +00:00
Alex Roitman
2dcb40ab08 2006-05-11 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py (gtk_color_to_str): Correct byte color.



svn: r6623
2006-05-12 00:54:17 +00:00
Don Allingham
b073854468 fix marker type, search bar tuple problem
svn: r6622
2006-05-11 23:05:12 +00:00
Alex Roitman
f4a522efa7 * src/UndoHistory.py: Paint all rows in a selected block; Require
exploicit button click on any action.


svn: r6621
2006-05-11 21:04:46 +00:00
Alex Roitman
d882f5ebf7 (PeopleModel.column_marker_color): properly access marker value.
svn: r6620
2006-05-11 19:23:50 +00:00
Alex Roitman
cafeeb7468 2006-05-11 Alex Roitman <shura@gramps-project.org>
* src/PeopleModel.py (_MARKER_COL): Correct column numbers.



svn: r6619
2006-05-11 18:51:35 +00:00
Alex Roitman
85c2ff5039 * src/GrampsDb/_ReadXML.py (GrampsParser): Use UpdateCallback.
* src/GrampsDb/_ReadGedcom.py (GedcomParser): Use UpdateCallback.
	(get_total): Add function, remove unneeded class.
	(UpdateCallback.update_real): Allow optional argument; 
	(UpdateCallback.set_total): Add method.


svn: r6618
2006-05-11 06:16:45 +00:00
Alex Roitman
e9602a5eeb In .:
* src/GrampsDb/_DbUtils.py (db_copy): Use UpdateCallback class.
	* src/BasicUtils.py: Add module.
	* src/Makefile.am (gdir_PYTHON): Add new file.
In po:
2006-05-10  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6617
2006-05-11 05:11:47 +00:00
Alex Roitman
f3b4b14bc2 * src/DataViews/_MediaView.py (edit): Handle the exception.
svn: r6616
2006-05-11 00:33:17 +00:00
Alex Roitman
f724a1185b * src/plugins/BookReport.py (__init__): Fix url.
svn: r6615
2006-05-11 00:18:48 +00:00
Alex Roitman
cc500922f8 * src/plugins/ChangeTypes.py (run_tool): Disable/enable signals.
* src/plugins/ReorderIds.py (__init__): Disable/enable signals.
	* src/plugins/PatchNames.py (on_ok_clicked): Start transaction
	only if doing the changes; disable/enable signals.


svn: r6614
2006-05-11 00:06:43 +00:00
Alex Roitman
f3889a89dd 2006-05-10 Alex Roitman <shura@gramps-project.org>
* src/plugins/SoundGen.py: Fix WM.



svn: r6613
2006-05-10 23:48:21 +00:00
Don Allingham
2ddedb80a3 change button order
svn: r6612
2006-05-10 21:26:59 +00:00
Don Allingham
40ec7acd41 inverted searches
svn: r6611
2006-05-10 20:56:22 +00:00
Alex Roitman
124a5ecac8 2006-05-10 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (func_person_attr): Typos.



svn: r6610
2006-05-10 20:17:28 +00:00
Don Allingham
c64bbd2183 fix search status bar message
svn: r6608
2006-05-10 17:34:54 +00:00
Don Allingham
707c4207a9 Search bar completion
svn: r6607
2006-05-10 16:08:56 +00:00
Alex Roitman
1e3b85f27f * src/GrampsDb/_DbUtils.py (db_copy): Use batch transaction.
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin): Proper indentation.


svn: r6606
2006-05-10 14:23:38 +00:00
Alex Roitman
40f355e17d * src/GrampsDb/_GrampsBSDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
	* src/GrampsDb/_WriteGrdb.py: Use db_copy.
	* src/GrampsDb/_DbUtils.py (db_copy): Add function.
	* src/ViewManager.py: Save as support.
	* src/DataViews/_MapView.py (enable_debug): Set to False to be
	able to see the output besides MapView.



svn: r6604
2006-05-10 05:52:55 +00:00
Don Allingham
626185cff8 * src/DataViews/_PersonView.py: search bar implementation
* src/PeopleModel.py: search bar implementation
	* src/PageView.py: search bar implementation
	* src/Filters/_SearchBar.py: search bar functionality
	* src/Filters/__init__.py: search bar functionality


svn: r6603
2006-05-10 04:02:45 +00:00
Don Allingham
b30fc7fb24 2006-05-09 Don Allingham <don@gramps-project.org>
* src/AddMedia.py: remember last directory for images for 
	the session



svn: r6602
2006-05-10 01:50:45 +00:00
Alex Roitman
11d3bf9868 * src/plugins/FamilyGroup.py: Use triple quotes.
svn: r6601
2006-05-09 23:18:37 +00:00
Alex Roitman
8a8d5342ce * src/Exporter.py (Exporter.native_export): Use callback.
* src/Utils.py (get_new_filename): Add path separator.
	* src/GrampsDb/_WriteGrdb.py: Proper export of tables with and
	without transaction support, add callback.


svn: r6600
2006-05-09 23:15:38 +00:00
Alex Roitman
8133c888f8 * src/plugins/WriteCD.py: Correctly import XmlWriter.
svn: r6599
2006-05-09 22:00:07 +00:00
Alex Roitman
0a3b72df34 * src/GrampsDb/_WriteXML.py (write_object): Check whether path is
empty before removing leading slash.


svn: r6598
2006-05-09 21:47:17 +00:00
Alex Roitman
19d1245c01 * src/GrampsDb/_WriteGedcom.py: Bring to new API.
svn: r6597
2006-05-09 20:36:12 +00:00
Alex Roitman
99576086d8 * src/plugins/ExportVCard.py: Bring to new API.
* src/plugins/ExportVCalendar.py: Bring to new API.


svn: r6596
2006-05-09 19:54:23 +00:00
Alex Roitman
8bdf853c44 * src/plugins/WriteFtree.py: Bring to new API.
svn: r6595
2006-05-09 19:45:18 +00:00
Alex Roitman
5b057d1e7a 2006-05-09 Alex Roitman <shura@gramps-project.org>
* src/Filters/_FilterMenu.py (build_filter_menu): Return the menu.
	* src/plugins/WriteGeneWeb.py: Bring to new API.



svn: r6594
2006-05-09 19:38:15 +00:00
Don Allingham
24afde6b81 2006-05-09 Don Allingham <don@gramps-project.org>
* src/DataViews/_MapView.py: add tool tips to tool buttons
	* src/ViewManager.py: add tool tips to Open button



svn: r6593
2006-05-09 18:34:58 +00:00
Alex Roitman
13ea348bdf 2006-05-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (get_default_person): Use proper
	way of getting person from the handle.



svn: r6592
2006-05-09 04:33:21 +00:00
Don Allingham
2a7a35a259 2006-05-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: get_default_handle()
	* src/DisplayState.py: use get_default_handle, fix race condition 



svn: r6591
2006-05-09 04:15:04 +00:00
Alex Roitman
8b081be765 * src/GrampsDb/_GrampsBSDDB.py (load): Better non-TXN support.
* src/UndoHistory.py (__init__): Rename list to tree.



svn: r6589
2006-05-08 23:18:16 +00:00
Alex Roitman
73ec571d83 Update
svn: r6588
2006-05-08 19:56:35 +00:00
Alex Roitman
7739ac2ec2 * src/DataViews/_PersonView.py (delete_person_response): Use child_ref.
svn: r6587
2006-05-08 19:08:03 +00:00
Alex Roitman
a5c6c567c3 (GrampsInMemDB._del_*): Prpoper deletes.
svn: r6585
2006-05-08 18:54:56 +00:00
Alex Roitman
87b44b95cb (GrampsInMemDB._del_family): Remove obsolete code.
svn: r6584
2006-05-08 18:47:42 +00:00
Alex Roitman
971bfecf66 * src/plugins/Leak.py: Typo.
* src/plugins/Eval.py: Convert to ManagedWindow.


svn: r6583
2006-05-08 18:21:11 +00:00
Alex Roitman
bd789f227b * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add callname to
names during upgrade.


svn: r6582
2006-05-08 18:09:11 +00:00
Alex Roitman
aba01cdabf * src/GrampsDb/_ReadXML.py (start_childref): Typo.
svn: r6580
2006-05-08 17:50:12 +00:00
Alex Roitman
19955ec2f0 2006-05-08 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
	prior to calling open_undodb().



svn: r6579
2006-05-08 17:47:22 +00:00
Don Allingham
fa8cebe03b * configure.in: set for 2.1.1
* src/GrampsDb/_ReadXML.py: call name support
	* src/GrampsDb/_WriteXML.py: call name support


svn: r6576
2006-05-08 03:41:57 +00:00
Don Allingham
c024f9f84b * src/DisplayState.py: include name and relationship on statusbar
svn: r6575
2006-05-08 01:42:30 +00:00
Don Allingham
0aaaa45ca1 * src/DataViews/_MediaView.py: tool tips
* src/DataViews/_RepositoryView.py: tool tips
	* src/DataViews/_SourceView.py: tool tips
	* src/DataViews/_EventView.py: tool tips
	* src/DataViews/_PedigreeView.py: tool tips
	* src/DataViews/_PlaceView.py: tool tips
	* src/DataViews/_PersonView.py: tool tips
	* src/ViewManager.py: tool tips
	* src/QuestionDialog.py: add info dialog
	* src/PageView.py: tool tips


svn: r6574
2006-05-08 01:15:19 +00:00
Don Allingham
eeab44a8d7 2006-05-07 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild tree on surname change,
	don't attempt to delete/insert, since this can cause things to
	hang.



svn: r6573
2006-05-07 21:54:56 +00:00
Alex Roitman
179a8dac52 2006-05-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsXMLDB.py: Minor fix.
	* src/GrampsDb/_GrampsGEDDB.py: Minor fix.
	* src/GrampsDb/_GrampsDbBase.py: Undo history support.
	* src/UndoHistory.py: Fixes and additions.
	* src/ViewManager.py (post_load): Re-set undo/redo labels.



svn: r6569
2006-05-07 05:22:44 +00:00
Don Allingham
064c8ce061 * src/PluginUtils/_ReportUtils.py: fix set_nick_name
* src/RelLib/_MediaRef.py: handle initialization of Ref object


svn: r6568
2006-05-07 04:24:23 +00:00
Don Allingham
cf7e13af24 * src/DataViews/_PersonView.py: handle filter option correctly
svn: r6567
2006-05-07 03:50:24 +00:00
Don Allingham
ded50afd83 2006-05-06 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_SourceEmbedList.py: fix icon
	* src/DisplayState.py: add relationship calculator option to statusbar



svn: r6566
2006-05-06 22:49:51 +00:00
Don Allingham
42fec2b3b7 2006-05-05 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_WebEmbedList.py: new icon



svn: r6564
2006-05-06 05:25:39 +00:00
Alex Roitman
6fe198a84a * src/glade/gramps.glade: typo.
svn: r6563
2006-05-06 05:25:12 +00:00
Alex Roitman
4b1d9e1a1b * src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data
and repository tabs.


svn: r6562
2006-05-06 05:20:19 +00:00
Don Allingham
121ead2906 * src/DisplayTabs/_BackRefList.py: handle edit of events
* src/DisplayTabs/_NoteTab.py: stock_notes icon
	* src/DisplayTabs/_GrampsTab.py: handle named icons
	* src/glade/gramps.glade: hide date edit by default


svn: r6561
2006-05-06 05:12:33 +00:00
Alex Roitman
fee0af9a4d 2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (undo, redo): Add repository map
	to the tuple of tables.



svn: r6560
2006-05-06 04:48:30 +00:00
Don Allingham
56a3b7ef20 * src/DateEdit.py: ManagedWindow
* src/Editors/_EditAddress.py: new DateEdit interface
	* src/Editors/_EditLdsOrd.py: new DateEdit interface
	* src/Editors/_EditSourceRef.py: new DateEdit interface
	* src/Editors/_EditEventRef.py: new DateEdit interface
	* src/Editors/_EditMedia.py: new DateEdit interface
	* src/Editors/_EditName.py: new DateEdit interface
	* src/Editors/_EditEvent.py: new DateEdit interface
	* src/GrampsWidgets.py: new DateEdit interface


svn: r6559
2006-05-06 03:14:13 +00:00
Don Allingham
91d49b8c5e 2006-05-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: import ChildModel



svn: r6558
2006-05-06 02:35:47 +00:00
Alex Roitman
49dda0d5c3 In .:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py: Add new file.
	* src/ViewManager.py: undo history support.
	* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
	timestamp to the transaction.
	(GrampsDbBase.redo): Update undo history window.
	(GrampsDbBase.undo): Update undo history window.
	(GrampsDbBase.transaction_commit): Update undo history window.
	(GrampsDbBase.transaction_commit): Set transaction timestamp.
	(GrampsDbBase.__init__): Define undo_history_callback.
	* src/Makefile.am (gdir_PYTHON): Ship new file.

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



svn: r6557
2006-05-05 21:55:01 +00:00
Alex Roitman
931c343815 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add nickname
upgrade.


svn: r6556
2006-05-05 21:25:48 +00:00
Don Allingham
19236f8c67 nickname/call name changes
svn: r6555
2006-05-05 21:16:24 +00:00
Alex Roitman
508a42d6f4 2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_MediaBackRefList.py: Import model.



svn: r6554
2006-05-05 17:47:52 +00:00
Don Allingham
0d5e4a3806 add undo history menu item
svn: r6553
2006-05-05 17:37:38 +00:00
Don Allingham
dcd9927969 * src/glade/gramps.glade: add call name field, add id fields
* src/glade/edit_person.glade: add call name field
	* src/DataViews/_PersonView.py: start of filter sidebar,
	use hbox instead of hpaned
	* src/Editors/_EditPlace.py: add ID field
	* src/Editors/_EditSource.py: add ID field
	* src/Editors/_EditEventRef.py: add ID field
	* src/Editors/_EditEvent.py: add ID field


svn: r6551
2006-05-05 13:25:24 +00:00
Alex Roitman
bd1bc316f0 In .:
* src/Makefile.am (gdir_PYTHON): Remove DisplayTabs.py.
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship rel_sk.py.

In po:
	Update.
	* gramps.pot: Update.


svn: r6549
2006-05-05 06:06:10 +00:00
Alex Roitman
69d3aabf41 * src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Add mising files.
svn: r6547
2006-05-05 00:42:17 +00:00
Alex Roitman
6169cecbd3 In .:
2006-05-04  Alex Roitman  <shura@gramps-project.org>
	* src/DisplayTabs.py: remove file.
	* src/DisplayTabs: Add package.

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



svn: r6546
2006-05-05 00:39:11 +00:00
Don Allingham
ec58eeee86 2006-05-04 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: start of filter sidebar



svn: r6545
2006-05-04 23:48:53 +00:00
Alex Roitman
3124bf7f65 (DataEmbedList): Hook up data map for sources.
svn: r6544
2006-05-04 20:45:07 +00:00
Alex Roitman
d9eb5cb555 2006-05-04 Alex Roitman <shura@gramps-project.org>
* src/SelectObject.py: Convert to managed window.
	* src/SelectEvent.py: Convert to managed window.
	* src/SelectSource.py: Convert to managed window.
	* src/DisplayTabs.py: Properly call selectors.



svn: r6543
2006-05-04 18:30:36 +00:00
Alex Roitman
33490899c4 * src/DisplayTabs.py (NoteTab.build_interface): Add spacing to
radiobuttons.


svn: r6542
2006-05-04 04:53:55 +00:00
Alex Roitman
2884c076bf 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/plugins/ReorderIds.py (ReorderIds.reorder): Switch from
	cursors to keys iteration.



svn: r6541
2006-05-04 04:05:57 +00:00
Alex Roitman
25ada65064 * src/PluginUtils/_Tool.py (BatchTool): Add class taking care of
tools with batch transactions.
	(ActivePersonTool.pass): Remove method.
	* src/plugins/Check.py (Check): Derive from BatchTool.
	* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
	derive from BatchTool.
	* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
	transactions; derive from BatchTool. 
	* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
	* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
	derive from BatchTool.
	* src/glade/gramps.glade: Make both buttons' lables in
	questiondialog use underline property.
	(ViewManager.import_data): Add undo warning for imports.


svn: r6540
2006-05-04 02:05:50 +00:00
Don Allingham
115e268aec 2006-05-03 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: do a better job of building the buttons.



svn: r6539
2006-05-04 01:33:37 +00:00
Alex Roitman
715e7b2b86 (GrampsDbBase.transaction_begin): No aborting after batch transaction.
(GrampsBSDDB.transaction_begin): No aborting after batch transaction.


svn: r6537
2006-05-03 23:36:10 +00:00
Alex Roitman
7011115d16 * src/GrampsDb/_GrampsInMemDB.py (abort_changes): Remove method.
* src/GrampsDb/_GrampsDbBase.py (abort_changes): Remove method.
	* src/GrampsDb/_GrampsBSDDB.py (undo,redo): Use the status from
	GrampsDbBase undo/redo;
	(abort_changes): Remove method.
	* src/ViewManager.py (abort): Add method for abandoning changes.



svn: r6536
2006-05-03 23:21:49 +00:00
Alex Roitman
2edee552db 2006-05-03 Alex Roitman <shura@gramps-project.org>
* configure.in: Set release to 0.SVN.
	* src/DataViews/_PersonView.py (define_actions): Change label.



svn: r6535
2006-05-03 22:43:28 +00:00
Don Allingham
b7e6d2f149 sidebar-text option
svn: r6534
2006-05-03 22:21:59 +00:00
Don Allingham
db2d3ec2c4 update RelView with db changes
svn: r6533
2006-05-03 18:33:31 +00:00
Don Allingham
9ae72e2cdc Move ColumnEdit to local
svn: r6532
2006-05-03 17:39:06 +00:00
Alex Roitman
65a760097f 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditPlace.py (_setup_fields): Typo.



svn: r6531
2006-05-03 16:59:22 +00:00
Alex Roitman
2dd9893045 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
5e85cd3c91 Update
svn: r6528
2006-05-03 06:25:50 +00:00
Alex Roitman
1b1e62bf29 * src/GrampsWidgets.py (WarnButton): Replace event box with button.
svn: r6527
2006-05-03 03:03:41 +00:00
Alex Roitman
019fa312ad * src/GrampsWidgets.py (IconButton): Replace event box with button.
svn: r6526
2006-05-03 02:33:29 +00:00
Alex Roitman
49b9136daa In .:
* configure.in: Generate new Makefiles.
In po:
2006-05-02  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6522
2006-05-03 01:05:46 +00:00
Alex Roitman
ba42a155b1 * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Don Allingham
6a37d89056 2006-05-02 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: add family-warn back in
	* data/gramps.schemas.in: add family-warn back in
	


svn: r6520
2006-05-02 19:13:05 +00:00
Alex Roitman
98cc3dcffb * src/RelLib/_BaseObject.py (PrivacyBase): Remove class, as it
already has its own module.


svn: r6519
2006-05-02 19:06:27 +00:00
Alex Roitman
8c1919104c * src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.
svn: r6518
2006-05-02 17:32:54 +00:00
Alex Roitman
743dded002 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken witness note.
svn: r6517
2006-05-02 15:19:25 +00:00
Alex Roitman
6921e6e316 * src/DataViews/_PedigreeView.py (define_actions): Translate labels.
* src/DataViews/_SourceView.py (define_actions): Translate labels.
	* src/DataViews/_PlaceView.py (define_actions): Translate labels.
	* src/DataViews/_MediaView.py (define_actions): Translate labels.
	* src/DataViews/_RepositoryView.py (define_actions): Translate labels.
	* src/DataViews/_MapView.py (define_actions): Translate labels.
	* src/DataViews/_EventView.py (define_actions): Translate labels.
	* src/DataViews/_PersonView.py (define_actions) Translate labels.
	* src/PageView.py (BookMarkView.define_actions,
	PersonNavView.define_actions, ListView.define_actions): Translate
	labels.



svn: r6513
2006-05-02 05:50:46 +00:00
Alex Roitman
cc190517f8 * src/plugins/rel_sk.py: Typo.
svn: r6512
2006-05-02 05:07:47 +00:00
Alex Roitman
08821556e9 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Skip broken witness.
svn: r6511
2006-05-02 04:20:40 +00:00
Don Allingham
3ce932ea76 * src/DataViews/_PersonView.py: view specific key mapping support
* src/ViewManager.py: remember last View
	* src/Config/GrampsConfigKeys.py: LAST_VIEW key
	* src/PageView.py: key binding support
	* data/gramps.schemas.in: LAST_VIEW key


svn: r6510
2006-05-02 03:50:46 +00:00
Alex Roitman
5e6cf4cdd1 * src/GrampsDb/_GrampsDbBase.py (find_backlink_handles): Correctly
loop over all primary classes looking for a given handle.
	* src/RelLib/_Source.py (serialize, unserialize): properly save
	and restore marker.
	* src/RelLib/_MediaObject.py (serialize, unserialize): properly
	save and restore marker.
	* src/RelLib/_Place.py (serialize, unserialize): properly save and
	restore marker.
	* src/RelLib/_Repository.py (serialize, unserialize): properly
	save and restore marker.
	* src/RelLib/_Event.py (serialize, unserialize): properly save and
	restore marker.


svn: r6507
2006-05-01 23:08:09 +00:00
Don Allingham
5791ff7fcd fix selectperson call
svn: r6506
2006-05-01 22:14:26 +00:00
Don Allingham
6c7affe80a expand/collapse all nodes in Person View
svn: r6505
2006-05-01 21:28:31 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

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



svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
bb9f7dc74d 2006-04-30 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py (Verify.run_tool): Typo.
	


svn: r6503
2006-05-01 05:55:14 +00:00