Commit Graph

4359 Commits

Author SHA1 Message Date
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
Jérôme Rapinat
e2313aaba4 update french translation
svn: r7107
2006-08-01 13:13:22 +00:00
Alex Roitman
2a4fd9a22e * ru.po: Start on Russian translation.
svn: r7106
2006-08-01 05:48:44 +00:00
Alex Roitman
fd782260f3 * POTFILES.in: Remove obsolete file;
reflect the name change of Merge -> FindDupes.


svn: r7105
2006-08-01 04:37:31 +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
df1e865d38 2006-07-30 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add missing file.



svn: r7094
2006-07-30 07:31:30 +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
Jérôme Rapinat
068d4cb56f add family custom filter translation
svn: r7078
2006-07-25 20:36:23 +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
9ab1e4635d Update
svn: r7076
2006-07-25 19:58:23 +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
d13fa66d07 2006-07-25 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add missing files.



svn: r7073
2006-07-25 18:37:56 +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
f84ca8e366 UPdate
svn: r7068
2006-07-24 23:06:49 +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
Jérôme Rapinat
af068be9de update french translation 2.1.90
svn: r7062
2006-07-23 18:47:08 +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