Commit Graph

2915 Commits

Author SHA1 Message Date
Alex Roitman
47d6700f60 * src/Filters/Rules/Person/_IsWitness.py: Rewrite with new API.
debugging output;
	(_name2typeclass): Add name->type mapping.



svn: r7123
2006-08-04 21:59:57 +00:00
Alex Roitman
d265fadc1f * src/FilterEditor/_FilterEditor.py (__init__): Remove unneeded
argument, namespace is enough to get the filter class via factory;
	(add_new_filter): Use factory; (get_all_handles): Get handles for
	any object type.
	* src/FilterEditor/_ShowResults.py (get_name_id): Add method to
	return name and id for different object types;
	(sort_val_from_handle): Support different object types.
	(__init__): Accept namespace as an argument.
	* src/Filters/__init__.py: Do not expose GenericFamilyFilter;
	expose GenericFilterFactory instead.
	* src/Filters/_FamilySidebarFilter.py (GenericFamilyFilter): Use
	factory.


svn: r7122
2006-08-04 20:29:26 +00:00
Alex Roitman
b7ddf09cba * src/FilterEditor/_EditRule.py (MyID.name_from_gramps_id): Remove
debugginb output.


svn: r7121
2006-08-04 19:49:32 +00:00
Alex Roitman
49d002f75c In .:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_MediaView.py (row_change): Work around older pygtk.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new
	files. 
	* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.

In po:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Unlist plugins that are not shipped.



svn: r7120
2006-08-04 19:36:18 +00:00
Zsolt Foldvari
bbdb648dec 2006-08-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_PersonView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Reconnect to/disconnect from dbstate's
	"active-person-changed" signal.
	* src/DataViews/_RelationView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Reconnect to/disconnect from dbstate's
	"active-person-changed" signal.



svn: r7119
2006-08-04 13:51:44 +00:00
Alex Roitman
929c918486 * src/Filters/_GenericFilter.py (GenericFilterFactory): Add
factory function.
	* src/Filters/_FilterParser.py (FilterParser.startElement): Use
	factory function.
	* src/Filters/Rules/_MatchesFilterBase.py: Add base module.
	* src/Filters/Rules/Person/_MatchesFilter.py: Derive from base.
	* src/Filters/Rules/Family/_MatchesFilter.py: Add rule.
	* src/Filters/Rules/Family/_MotherHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_FatherHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_MotherHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/_ChildHasIdOf.py: Add rule.
	* src/Filters/Rules/Family/_FatherHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/_ChildHasNameOf.py: Add rule.
	* src/Filters/Rules/Family/__init__.py: Expose new rules.
	


svn: r7117
2006-08-04 05:05:59 +00:00
Alex Roitman
b6be1b4369 * src/GrampsLogger/_ErrorReportAssistant.py (build_page5): Typo.
svn: r7116
2006-08-03 22:11:48 +00:00
Alex Roitman
7c5077280c 2006-08-03 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasIdOf.py: Cleanup.
	* src/Filters/Rules/Person/__init__.py (editor_rule_list): Add
	RegExpIdOf.
	* src/Filters/Rules/Person/_RegExpIdOf.py: Cleanup.
	* src/Filters/Rules/_RegExpIdBase.py: Cleanup.
	* src/Filters/Rules/Person/_HasRelationship.py: Cleanup.
	* src/Filters/Rules/Family/_HasIdOf.py: Cleanup.
	* src/Filters/Rules/Family/_RegExpIdOf.py: Cleanup.
	* src/FilterEditor/_EditRule.py: Clean, localization fixes, ID
	selection fixes.
	* src/NameDisplay.py: Import gettext.
	* src/Filters/Rules/Family/_HasRelType.py (labels): Use lowercase.
	* src/FilterEditor/_EditFilter.py (on_add_clicked,
	on_edit_clicked): Catch exception.



svn: r7115
2006-08-03 19:49:29 +00:00
Zsolt Foldvari
5af5a2a3c2 2006-08-03 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/Check.py (cleanup_deleted_name_formats): Change hardcoded
	values with constants.
	* src/GrampsCfg.py: Unused constants cleanup.
	* src/DataViews/_PedigreeView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Improve performance of other views.
	* src/NameDisplay.py (name_grouping_data): Change hardcoded values
	with constants.



svn: r7114
2006-08-03 14:26:43 +00:00
Alex Roitman
76be2957b4 2006-08-03 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_BackRefList.py (find_node): Use class name.
	* src/DisplayTabs/_BackRefModel.py (__init__, load_model): Add new
	column to keep both class name and translation.



svn: r7113
2006-08-03 13:28:40 +00:00
Alex Roitman
b4c035fbc1 In .:
2006-08-02  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Disable scrollkeeper update in the packager mode.

In po:
2006-08-02  Alex Roitman  <shura@gramps-project.org>
	* ru.po: Translation update.



svn: r7112
2006-08-03 01:14:54 +00:00
Don Allingham
92b1f152e1 * src/RelLib/_Place.py: Check for empty location
* src/Editors/_EditEvent.py: use default data change check


svn: r7111
2006-08-02 04:29:46 +00:00
Don Allingham
e59d065ada 2006-08-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: use grouping name
	* src/NameDisplay.py: Add grouping from data instead of just Name
	instance, handle Name.DEF
	* src/DisplayModels/_PeopleModel.py: use grouping name



svn: r7110
2006-08-01 23:50:47 +00:00
Alex Roitman
c6032a659f * src/NameDisplay.py: Rename local var id -> num
to avoid collission with the builtin function id().


svn: r7109
2006-08-01 20:31:19 +00:00
Alex Roitman
13edf04889 2006-08-01 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (set_name_group_mapping): Use
	transaction.



svn: r7108
2006-08-01 16:24:27 +00:00
Alex Roitman
230d3b7d69 In .:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_SearchBar.py (SearchBar.__init__): Take dbstate as
	a constructor argument; (SearchBar.apply_filter): pass dbstate.
	* src/PageView.py (BookMarkView.add_bookmark,
	PersonNavView.jumpto, PersonNavView.fwd_clicked,
	PersonNavView.back_clicked, ListView.build_widget): Pass dbstate.
	* src/Navigation.py (BaseNavigation.__init__,
	PersonNavigation.__init__): Take dbstate as a constructor argument;
	(PersonNavigation.build_item_name): properly access dbstate.
	* src/DisplayState.py (__init__): Do not take dbstate as a
	constructor argument; Do not connect dbstate signal here (moved to
	ViewManager);
	(display_relationship,push_message,modify_statusbar): Make dbstate
	an argument.
	* src/plugins/Checkpoint.py (run_tool): Pass dbstate.
	* src/ViewManager.py (_build_main_window): Do not pass dbstate to
	uistate DisplayState constructor; connect dbstate signal handler;
	pass dbstate to Navigation; (keypress): Pass dbstate;
	(statusbar_key_update): Pass dbstate;
	(do_load_plugins): Pass dbstate;
	(ViewManager.add_bookmark): Pass dbstate.
	* src/DataViews/_RelationView.py (shade_update): Pass dbstate.
	* src/DataViews/_PersonView.py (build_widget,_goto,
	key_goto_home_person, key_edit_selected_person): Pass dbstate.
	* src/Filters/Makefile.am (pkgdata_PYTHON): Remove obsolete file.
	* src/Filters/__init__.py: Remove importing obsolete module.
	* src/Filters/_FilterWidget.py: Remove obsolete module.

In po:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r7104
2006-08-01 04:31:10 +00:00
Don Allingham
b623cc3d40 * src/plugins/FindDupes.py: Fix title (bug 314)
* src/plugins/merge.glade: change button name (bug 315)


svn: r7103
2006-08-01 03:49:09 +00:00
Don Allingham
d2e81cd659 2006-07-31 Don Allingham <don@gramps-project.org>
* src/plugins/FindDupes.py: Fix title (bug 314) 



svn: r7102
2006-08-01 03:41:43 +00:00
Alex Roitman
ab8890d1e9 * src/plugins/Makefile.am (pkgdata_PYTHON): Remove unsupported reports.
svn: r7101
2006-08-01 03:15:36 +00:00
Alex Roitman
fcea3a4856 2006-07-31 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py (UndoHistory._build_model): Only show the
	initial entry is database is really opened.



svn: r7100
2006-08-01 02:24:49 +00:00
Zsolt Foldvari
a16b488d1d 2006-07-31 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
	change.
	* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
	* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
	* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
	interface.
	* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
	and Add callbacks divided.
	* src/RelLib/_Name.py: Default/standard name format definitions moved to
	NameDisplay.
	* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
	interface.
	* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
	NameDisplay interface.



svn: r7099
2006-07-31 11:08:44 +00:00
Don Allingham
e9cf818b7c * src/GrampsDb/_ReadGedcom.py: handle missing event type
svn: r7098
2006-07-31 00:38:31 +00:00
Don Allingham
495b769141 2006-07-30 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: add tooltip for map button



svn: r7097
2006-07-31 00:23:22 +00:00
Alex Roitman
e739115266 * src/plugins/Merge.py: Rename, because Merge module shadows this
plugin module.
	* src/plugins/FindDupes.py: New module, to replace Merge.py;
	(ShowMatches.on_do_merge_clicked): Use new Merge component.


svn: r7096
2006-07-30 21:29:25 +00:00
Alex Roitman
92bbf0359b 2006-07-30 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.do_load_plugins): Catch exception;
	(ViewManager.plugin_status): Catch exception.



svn: r7095
2006-07-30 18:13:38 +00:00
Alex Roitman
60ab402f58 * src/plugins/changetype.glade: Update text warning.
svn: r7093
2006-07-30 04:11:41 +00:00
Alex Roitman
6ac1e3a1f5 * src/Editors/_EditMedia.py (EditMedia.save): Use absolute path
to determine mime type.


svn: r7092
2006-07-30 04:01:45 +00:00
Alex Roitman
5569f78767 * src/PageView.py (PersonNavView.filter_editor): Catch exception.
* src/DataViews/_FamilyList.py (FamilyListView.filter_editor):
	Catch exception.
	* src/plugins/EventCmp.py (EventComparison.filter_editor_clicked):
	Catch exception.


svn: r7091
2006-07-30 03:34:10 +00:00
Alex Roitman
946558405d Update
svn: r7090
2006-07-30 03:24:57 +00:00
Alex Roitman
aae6ecfc0d 2006-07-29 Alex Roitman <shura@gramps-project.org>
* src/ManagedWindow.py (ManagedWindow.show): Set opened flag;
	(ManagedWindow.close): Unser opened flag.
	* src/ViewManager.py (undo_history_close): Only close undo history
	window if it is open.
	* src/UndoHistory.py: (UndoHistory.__init__): Remove signal handling;
	(UndoHistory.close): Remove method, use one from the parent class.



svn: r7089
2006-07-30 03:24:16 +00:00
Zsolt Foldvari
5814acc1e3 2006-07-29 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/NameDisplay.py (display_given): Cleanup
	* src/Gramps.Cfg.py (NameFormatEditDlg.run): Verification of the
	returned values



svn: r7088
2006-07-29 20:56:11 +00:00
Alex Roitman
7cf2dc0785 (find_backlink_handles): Work around readonly db problems;
(_get_obj_from_gramps_id): Work around readonly db problems.


svn: r7087
2006-07-28 04:10:43 +00:00
Alex Roitman
e7cc55ddc2 Update
svn: r7086
2006-07-27 20:11:56 +00:00
Alex Roitman
787fe452e1 2006-07-27 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (_load_metadata): Upgrade custom
	name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Attempt parsing the
	active state for the custom name format.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Write 4-tuple
	custom name formats; 
	(_xml_version): Output as version 1.1.1.
	* data/grampsxml.rng: Update XML description for 1.1.1.
	* data/grampsxml.dtd: Update XML description for 1.1.1.
	* src/ViewManager.py (post_load_newdb): Revert changes (done on
	the lower level).
	* src/NameDisplay.py (register_custom_formats): Revert changes (done on
	the lower level).



svn: r7085
2006-07-27 17:44:02 +00:00
Zsolt Foldvari
1d9e6da05a * src/ViewManager.py (post_load_newdb): Upgrade path for different
grdb custom name format table versions
	* src/NameDisplay.py (register_custom_formats): Upgrade path for
	different grdb custom name format table versions

2006-07-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r7084
2006-07-27 11:53:47 +00:00
Zsolt Foldvari
c7d9e4b9fe 2006-07-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsCfg.py: Custom name format support improvements.
	* src/Editors/_EditName.py: Custom name format support improvements.
	* src/NameDisplay.py: Custom name format support improvements.
	* src/plugins/Check.py (cleanup_deleted_name_formats): Db cleanup of
	deleted custom name format references.



svn: r7083
2006-07-27 10:48:16 +00:00
Alex Roitman
0fa6a8eaa0 2006-07-26 Steve Hall <digitect@mindspring.org>
* windows/nsis/gramps-build.bat: Add windows building scripts.
	* windows/nsis/gramps.nsi: Add windows building scripts.
	* windows/nsis/gcheck.py: Add windows building scripts.
	* windows/nsis/ped24.ico: Add windows icon.



svn: r7082
2006-07-27 01:04:49 +00:00
Alex Roitman
4fc91e2d6f 2006-07-26 Alex Roitman <shura@gramps-project.org>
* configure.in: Remove debian/Makefile from the list.
	* Makefile.am (SUBDIRS): Remove debian from the list.
	* debian/Makefile.am: Remove from SVN.



svn: r7081
2006-07-26 18:16:32 +00:00
Brian Matherly
a9e03faf98 * src/ReportBase/_ReportUtils.py: fix born_str typo (bug #266)
svn: r7080
2006-07-26 04:08:38 +00:00
Brian Matherly
a21dc6111e * src/Mime/Makefile.am: Add WinMime.py
svn: r7079
2006-07-26 03:40:40 +00:00
Alex Roitman
2d7c1c3435 * src/Merge/_MergePerson.py: Use new child_ref API.
svn: r7077
2006-07-25 20:23:28 +00:00
Alex Roitman
865be0198b * src/FilterEditor/_EditRule.py (MySelect.get_text): Dirty hack to
prevent rule editor from crashing. NEEDS REPAIR to stop relying on
	the localized text.
	* src/Filters/Rules/Person/_HasFamilyEvent.py (apply): Use new API.
	* src/RelLib/_GrampsType.py (set,__cmp__): Consider unicode type
	along with the str.


svn: r7075
2006-07-25 19:52:28 +00:00
Alex Roitman
a34a20409a 2006-07-25 Alex Roitman <shura@gramps-project.org>
* src/Filters/_SearchBar.py (get_value,apply_filter): Force unicode.
	* src/Filters/_PersonSidebarFilter.py (get_filter): Force unicode.
	* src/Filters/_FamilySidebarFilter.py (get_filter): Force unicode.



svn: r7074
2006-07-25 19:11:24 +00:00
Alex Roitman
b5940487eb 2006-07-24 Alex Roitman <shura@gramps-project.org>
* configure.in: Bump up the version number.
	* src/GrampsDb/_GrampsBSDDB.py (find_fidmap): Remove unused method.



svn: r7072
2006-07-25 06:11:27 +00:00
Alex Roitman
871180a272 Update
svn: r7071
2006-07-25 00:24:15 +00:00
Alex Roitman
51c468f672 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Map Other from
gramps2.0.x to Unknown.
	* src/GrampsDb/_ReadXML.py (start_name): Map Other from
	gramps2.0.x to Unknown.
	(start_database): Add method to extract the XML version.


svn: r7070
2006-07-25 00:01:08 +00:00
Don Allingham
2d9551ad4b 2006-07-24 Manfred Paulus <manfred.paulus@gmx.de>
* src/plugins/FanChart.py: Add circle, 1/2 circle and 1/4
	circle options, along with selectable generations
	* src/docgen/OpenOfficeDoc.py: fix rotation angle



svn: r7069
2006-07-24 23:18:51 +00:00
Alex Roitman
648d0b4a52 * src/DisplayTabs/_BackRefModel.py (BackRefModel.load_model):
Translate displayed object type.


svn: r7067
2006-07-24 18:30:42 +00:00
Alex Roitman
7bfe655fe0 2006-07-24 Alex Roitman <shura@gramps-project.org>
* debian/control (Build-Depends-Indep): Add python-central; 
	(XS-Python-Version): Add.



svn: r7066
2006-07-24 15:49:37 +00:00
Alex Roitman
4f3b178ed7 2006-07-23 Alex Roitman <shura@gramps-project.org>
* src/plugins/GraphViz.py (get_date_strings): Typo.



svn: r7065
2006-07-24 05:33:55 +00:00
Brian Matherly
cbaf16999a * src/plugins/NarrativeWeb.py: fix bug for no surname (bug #265)
svn: r7064
2006-07-24 02:19:08 +00:00
Don Allingham
4bb46152db 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
d267e48ccf 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
7c028d4691 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
8b210ffc38 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
a567a9c7e6 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
b6fff67b59 * src/ReportBase/_ReportUtils.py: fix modified birth string (bug # 266).
svn: r7056
2006-07-23 03:50:55 +00:00
Brian Matherly
75fe94b45a * 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
bf1d752f01 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
951d1b094f 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
f7892eebf0 * src/plugins/GraphViz.py (GraphViz.__init__): Better error handling.
svn: r7052
2006-07-20 19:49:27 +00:00
Alex Roitman
706c6e6741 * src/plugins/IndivComplete.py: Use NameDisplay.
* src/plugins/FamilyGroup.py: Use NameDisplay.


svn: r7051
2006-07-20 19:37:56 +00:00
Alex Roitman
d575d66fe8 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
59ef47b6e1 * 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
805a82bcab * 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
ae7c77ddcd 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
0d24ddc403 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
c06a516b50 * 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
7cac250281 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
54a6eeb818 * 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
e6a2949327 Update
svn: r7041
2006-07-19 04:29:44 +00:00
Alex Roitman
26d491b230 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
7379b4b646 * src/plugins/GraphViz.py: Make it work for Windows
svn: r7039
2006-07-19 04:05:17 +00:00
Don Allingham
e2fa5c3021 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
9200e01c56 * src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236)
svn: r7037
2006-07-18 02:59:18 +00:00
Brian Matherly
c24c9c1d94 * src/plugins/NarrativeWeb.py: typo
svn: r7036
2006-07-18 01:53:42 +00:00
Alex Roitman
4c828cc0d0 * 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
672d5aa433 * 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
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