Commit Graph

2815 Commits

Author SHA1 Message Date
Brian Matherly
6cc8dfa7d8 * src/plugins/NarrativeWeb.py: fix bug for no surname (bug #265)
svn: r7064
2006-07-24 02:19:08 +00:00
Don Allingham
7b69b201a9 2006-07-23 Manfred Paulus <manfred.paulus@gmx.de>
* src/BaseDoc.py: fix angle calculation
	* src/docgen/PSDrawDoc.py: fix angle calculation



svn: r7063
2006-07-23 23:16:21 +00:00
Don Allingham
ea3f390b63 2006-07-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
	default type for an event to CUSTOM



svn: r7061
2006-07-23 17:46:58 +00:00
Alex Roitman
0cbb723ac7 2006-07-23 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_IsLessThanNthGenerationDescendantOf.py
	(IsLessThanNthGenerationDescendantOf.init_list): Use new API.
	* src/Filters/Rules/Person/_IsSiblingOfFilterMatch.py
	(IsSiblingOfFilterMatch.init_list): Use new API.
	* src/Filters/Rules/Person/_RelationshipPathBetween.py
	(RelationshipPathBetween.desc_list): Use new API.
	* src/Filters/Rules/Person/_HaveChildren.py (HaveChildren.apply):
	Use new API.
	* src/Filters/Rules/Person/_IsMoreThanNthGenerationDescendantOf.py
	(IsMoreThanNthGenerationDescendantOf.init_list): Use new API.
	* src/Filters/Rules/__init__.py: Expose Rule for plugin filters.
	* src/Filters/Rules/Person/_IsDescendantOf.py
	(IsDescendantOf.init_list): Use new API.
	* src/Filters/Rules/Person/_HasRelationship.py
	(HasRelationship.apply): Use new API.



svn: r7060
2006-07-23 16:59:33 +00:00
Don Allingham
89f58fc8ad 2006-07-22 Don Allingham <don@gramps-project.org>
* src/Filters/Rules/Person/__init__.py: add register function
	* configure.in: bump up version number 



svn: r7058
2006-07-23 04:21:51 +00:00
Alex Roitman
52c24321fd 2006-07-22 Alex Roitman <shura@gramps-project.org>
* Makefile.am (SUBDIRS): Add debian dir.
	* configure.in: Generate debian/Makefile
	* debian/Makefile.am: Add makefile to place the debian dir in the
	released tarball.



svn: r7057
2006-07-23 04:05:00 +00:00
Brian Matherly
c694b408e6 * src/ReportBase/_ReportUtils.py: fix modified birth string (bug # 266).
svn: r7056
2006-07-23 03:50:55 +00:00
Brian Matherly
388c0e88a4 * src/plugins/GraphViz.py: launch image viewer in Windows.
* src/Mime/_WinMime.py: handle rundll32.exe applications.
* src/Utils.py: search path in Windows when looking for applications.

svn: r7055
2006-07-22 05:52:16 +00:00
Don Allingham
10f6d9aaa9 2006-07-21 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: provide number for children/siblings
	* src/GrampsWidgets.py: fix spacing on link box



svn: r7054
2006-07-22 04:12:09 +00:00
Don Allingham
731d4d80f7 2006-07-20 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: fix spacing on link label



svn: r7053
2006-07-21 03:37:12 +00:00
Alex Roitman
705f6e2365 * src/plugins/GraphViz.py (GraphViz.__init__): Better error handling.
svn: r7052
2006-07-20 19:49:27 +00:00
Alex Roitman
f3fed49b9f * src/plugins/IndivComplete.py: Use NameDisplay.
* src/plugins/FamilyGroup.py: Use NameDisplay.


svn: r7051
2006-07-20 19:37:56 +00:00
Alex Roitman
3a20c1bf4f 2006-07-20 Alex Roitman <shura@gramps-project.org>
* src/GrampsCfg.py (add_name_panel): Minor UI improvements;
	(_build_custom_name_ui): Minor UI improvements;
	(cb_edit_fmt_str): Make correct transient_for call.
	* src/gramps.glade (namefmt_edit): Add expander with the help on
	format definitions; minor UI improvements.



svn: r7050
2006-07-20 19:12:22 +00:00
Alex Roitman
334e331030 * src/plugins/Checkpoint.py (Checkpoint.init_gui): Detect whether
rcs program is present and modify UI accordingly.
	* src/plugins/checkpoint.glade: Add hidden warning label.


svn: r7049
2006-07-20 04:25:44 +00:00
Alex Roitman
e3c6406cea * src/plugins/StatisticsChart.py
(StatisticsChartOptions.get_report_filters): Add custom filters.
	* src/plugins/Calendar.py (FilterWidget.get_filters): Add custom
	filters.
	* src/plugins/TimeLine.py (TimeLineOptions.get_report_filters):
	Add custom filters.
	* src/plugins/IndivComplete.py
	(IndivCompleteOptions.get_report_filters): Add custom filters.
	* src/plugins/NarrativeWeb.py
	(WebReportOptions.get_report_filters): Add custom filters. 
	encoding errors;
	(GraphVizOptions.get_report_filters): Add custom filters.



svn: r7048
2006-07-20 00:42:20 +00:00
Alex Roitman
6325153e02 2006-07-19 Alex Roitman <shura@gramps-project.org>
* src/plugins/GraphViz.py (GraphViz.__init__): Take care of the
	encoding errors.
	


svn: r7046
2006-07-19 23:42:50 +00:00
Alex Roitman
853094a4a2 2006-07-19 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/GrampsCfg.py: UI improvements.
	* src/Config/_GrampsIniKeys.py: Proper key retrieval.



svn: r7045
2006-07-19 19:56:15 +00:00
Alex Roitman
9ec1ba1a37 * src/plugins/EventCmp.py (filter_editor_clicked): Adapt to filter
editor changes; Stop separately adding birth and death.


svn: r7044
2006-07-19 19:32:26 +00:00
Alex Roitman
a023628e2e 2006-07-19 Alex Roitman <shura@gramps-project.org>
* src/Filters/Makefile.am (pkgdata_PYTHON): Ship new file.



svn: r7043
2006-07-19 18:53:15 +00:00
Alex Roitman
a765958ead * src/ArgHandler.py (ArgHandler.cl_export): Properly expand filename.
* src/GrampsDb/_WriteGrdb.py (exportData): Use placeholder if
	callback is None.


svn: r7042
2006-07-19 04:56:41 +00:00
Alex Roitman
4b98e7e661 Update
svn: r7041
2006-07-19 04:29:44 +00:00
Alex Roitman
b7f85d59ce 2006-07-18 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py
	(GrampsBSDDB._delete_primary_from_reference_map): defer deleting
	until the cursor is closed.



svn: r7040
2006-07-19 04:29:04 +00:00
Brian Matherly
aec27f22cc * src/plugins/GraphViz.py: Make it work for Windows
svn: r7039
2006-07-19 04:05:17 +00:00
Don Allingham
7d1d821da8 2006-07-18 Don Allingham <don@gramps-project.org>
* src/RelLib/_DateBase.py: fix the date comparison for text only 
	dates



svn: r7038
2006-07-19 03:48:21 +00:00
Brian Matherly
314a103f8d * src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236)
svn: r7037
2006-07-18 02:59:18 +00:00
Brian Matherly
f7bd8ae1c5 * src/plugins/NarrativeWeb.py: typo
svn: r7036
2006-07-18 01:53:42 +00:00
Alex Roitman
701e8ec07f * src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
Allow working with pygtk older than 2.8.


svn: r7035
2006-07-16 15:33:13 +00:00
Alex Roitman
7d553e354c * src/Filters/Rules/Person/_IsChildOfFilterMatch.py
(IsChildOfFilterMatch.init_list): Convert to child_ref.


svn: r7034
2006-07-16 15:28:33 +00:00
Alex Roitman
911442758e 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
7bfdb53ca9 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
23ef8be874 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
0318f728f8 * src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
svn: r7028
2006-07-15 05:14:39 +00:00
Don Allingham
9a59537daf 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
eff624fde1 * src/plugins/NarrativeWeb.py: HTML validation fixes
svn: r7026
2006-07-13 04:13:19 +00:00
Brian Matherly
196b72b1ef * src/plugins/_CommandLineReport.py: missing import - CustomFilters
svn: r7025
2006-07-13 03:51:10 +00:00
Don Allingham
edc1603dc3 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
7c497c6674 * po/gramps.pot: remove autogenerated file
svn: r7019
2006-07-12 03:22:53 +00:00
Don Allingham
d4d143c26a * src/ViewManager.py: fix default state of filter menu item
svn: r7018
2006-07-12 03:15:26 +00:00
Don Allingham
ed1d550801 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
3fc0f004ed * 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
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