Commit Graph

2509 Commits

Author SHA1 Message Date
Don Allingham
00a5154a67 * src/DataViews/_PersonView.py: merge functionality
* src/ViewManager.py: merge functionality
	* src/MergePeople.py: fix merge (ui and birth/death events)
	* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries


svn: r6773
2006-05-25 04:08:05 +00:00
Don Allingham
57bb0ce78c * src/GrampsDb/_DbUtils.py: fix index setting of death index
* src/GrampsDb/_WriteGedcom.py: remove redundant birth/death 
	references


svn: r6772
2006-05-25 02:30:16 +00:00
Don Allingham
5017c4a1e7 2006-05-24 Don Allingham <don@gramps-project.org>
* src/images/stock_notes.png: added
	* src/images/Makefile.am: add stock_notes.png
	* src/gramps_main.py: register stock_notes as gramps_notes
	* src/DisplayTabs.py: use gramps_notes instead of stock_notes



svn: r6771
2006-05-25 00:23:22 +00:00
Alex Roitman
54e3f6908d * src/Utils.py: move event/attr constants to GedcomInfo.
* src/plugins/TestcaseGenerator.py: Use new methods.
	* src/DisplayTabs/_LdsModel.py: Use new methods.
	* src/Editors/_EditLdsOrd.py: Use new methods.
	* src/RelLib/_LdsOrd.py: Add new methods.
	* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
	* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
	* src/lds.py: Rename to LdsUtils.py
	* src/GrampsDb/_ReadGedcom.py: Use new module name.
	* src/Makefile.am (gdir_PYTHON): Ship new file.



svn: r6770
2006-05-24 05:28:33 +00:00
Don Allingham
4cb9bb81b2 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: make shading optional
	* src/GrampsCfg.py: make shading optional
	* src/Config/_GrampsConfigKeys.py: make shading optional
	* data/gramps.schemas.in: make shading optional



svn: r6769
2006-05-24 04:49:05 +00:00
Alex Roitman
8847f3d1cc 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade LdsOrd.



svn: r6766
2006-05-23 23:37:24 +00:00
Martin Hawlisch
b8ff094aa6 * src/DataViews/_MapView.py: Catch exceptions of the PixbufLoader that occur if nothing or not an image have been downloaded.
svn: r6765
2006-05-23 21:30:42 +00:00
Don Allingham
74b55ce32a 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: finish shading
	* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
	* src/Editors/_EditPerson.py: birth/death index fixes
	* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
	* src/GrampsWidgets.py: shading fixes
	* src/DisplayModels/_PeopleModel.py: birth/death index fixes



svn: r6764
2006-05-23 21:07:26 +00:00
Alex Roitman
d1d1c2fb5b 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/Utils.py (probably_alive): Adapt to new birth/death refs.



svn: r6763
2006-05-23 20:31:39 +00:00
Alex Roitman
9e45d663b6 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert upgrade
to using new birth/death reference approach.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Simplify updating
	of the custom event roles.
	* src/GrampsDb/_WriteXML.py (write_person): Use methods to get
	birth/death ref, not raw attributes.
	* src/RelLib/_Person.py: Convert to using birth and death ref
	indices.
	birth/deat reference; use methods to get birth/death ref, not raw
	attributes.


svn: r6762
2006-05-23 19:55:35 +00:00
Don Allingham
b2e8acc59d * src/DataViews/_RelationView.py: renamed from _FamilyView
* src/DataViews/__init__.py: use RelationView.py
	* src/DataViews/Makefile.am: update


svn: r6761
2006-05-23 19:46:02 +00:00
Martin Hawlisch
c1e6f1a089 * src/DataViews/_PedigreeView.py: Use dbstate only to not get out of sync with db and active person.
svn: r6760
2006-05-23 19:01:43 +00:00
Alex Roitman
329fbc5896 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadXML.py (start_eventref): Do not reset existing
	birth/deat reference.



svn: r6758
2006-05-23 17:02:06 +00:00
Don Allingham
fbdf65148e 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: more shading



svn: r6756
2006-05-23 16:33:42 +00:00
Alex Roitman
8b9b3112d8 2006-05-22 Alex Roitman <shura@gramps-project.org>
* data/gramps.schemas.in: Typos.
	* src/DataViews/_PedigreeView.py (rebuild): Typo.



svn: r6753
2006-05-23 04:59:50 +00:00
Don Allingham
4200f34ab2 2006-05-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: start shading of data



svn: r6752
2006-05-23 03:50:37 +00:00
Alex Roitman
cb0b034e70 * src/GrampsDb/_WriteGedcom.py: Multiple improvements.
* various: Replace get/set_base_handle with get/set_reference_handle.
	* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
	Remove redundant methods.


svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
9fa0c2bd12 2006-05-22 Alex Roitman <shura@gramps-project.org>
* src/ArgHandler.py (need_gui): Add method.
	* src/ViewManager.py: Move statusbar notification from gramps_main.
	* src/gramps_main.py: Remove unused methods, handle ArgHandler better.



svn: r6749
2006-05-22 18:07:12 +00:00
Don Allingham
9056f20f16 2006-05-21 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: handle export, import, and save as if
	database does not exist, yet UIManager still wants to call them.



svn: r6748
2006-05-22 04:17:18 +00:00
Alex Roitman
eb343d07c2 2006-05-21 Alex Roitman <shura@gramps-project.org>
* configure.in: Set up for the next release.



svn: r6747
2006-05-22 03:19:42 +00:00
Brian Matherly
38f4cd7e85 src/plugins/TimeLine.py: round all dates to nearest decade
svn: r6746
2006-05-22 02:57:27 +00:00
Don Allingham
99a2140ba1 2006-05-21 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py (MonitoredEntry.set_text): added function



svn: r6745
2006-05-22 02:51:20 +00:00
Brian Matherly
3875cdb615 src/plugins/GraphViz.py: fix unicode encoding
svn: r6744
2006-05-22 01:55:15 +00:00
Alex Roitman
347a488142 * src/GrampsDb/_WriteGedcom.py: Repository export.
svn: r6743
2006-05-21 23:32:34 +00:00
Brian Matherly
2b1459deac * src/plugins/Calendar.py: make calendar work in Windows
* src/GrampsLocale.py: make calendar work in Windows

svn: r6741
2006-05-21 22:12:14 +00:00
Alex Roitman
1766750f8e * src/GrampsDb/_GrampsInMemDB.py (GrampsInMemDB.__init__): Remove
unused variables.


svn: r6740
2006-05-21 21:07:15 +00:00
Alex Roitman
d642d36113 2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/plugins/Calendar.py (print_page): Use correct variable.



svn: r6739
2006-05-21 21:03:44 +00:00
Alex Roitman
63ab257ab0 * src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.
Do not import unused module.


svn: r6738
2006-05-21 20:48:50 +00:00
Brian Matherly
d0b7be73ff src/plugins/GraphViz.py.in: fix file open.
svn: r6737
2006-05-21 20:39:14 +00:00
Alex Roitman
7cd3d8e028 * src/const.py.in: Use gettext.
* src/GrampsDb/_ConstXML.py: Remove file.


svn: r6736
2006-05-21 20:27:46 +00:00
Alex Roitman
c531fc65bc 2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_PersonEventEmbedList.py
	(PersonEventEmbedList.default_type): properly process event list.
	* src/Editors/_EditEventRef.py (EditEventRef.get_custom_events):
	Use correct method.
	* src/Editors/_EditEvent.py (EditEvent.get_custom_events)
	(EditPersonEvent.get_custom_events): Use correct method.
	* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
	* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.



svn: r6735
2006-05-21 18:17:52 +00:00
Don Allingham
230ec2bf8a 2006-05-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: custom menus
	* src/Editors/_EditLdsOrd.py: custom menus
	* src/Editors/_EditSourceRef.py: custom menus
	* src/Editors/_EditSource.py: custom menus
	* src/Editors/_EditRepoRef.py: custom menus
	* src/Editors/_EditUrl.py: custom menus
	* src/Editors/_EditAttribute.py: custom menus
	* src/Editors/_EditPerson.py: custom menus
	* src/Editors/_EditLocation.py: custom menus
	* src/Editors/_EditMediaRef.py: custom menus
	* src/Editors/_EditEventRef.py: custom menus
	* src/Editors/_EditMedia.py: custom menus
	* src/Editors/_EditRepository.py: custom menus
	* src/Editors/_EditName.py: custom menus
	* src/Editors/_EditChildRef.py: custom menus
	* src/Editors/_EditFamily.py: custom menus
	* src/Editors/_EditEvent.py: custom menus



svn: r6734
2006-05-21 04:24:56 +00:00
Alex Roitman
beb85185a1 * src/GrampsDb/_WriteGedcom.py (write_repos): Add method.
svn: r6733
2006-05-21 04:14:47 +00:00
Alex Roitman
b50cdad0c2 * src/gramps_main.py (Gramps.__init__): Call ArgHandler between
init_interface and post_init_interface.
	* src/ViewManager.py (init_interface): Split off post_init_interface.


svn: r6732
2006-05-21 04:13:34 +00:00
Alex Roitman
419128d50d 2006-05-20 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: Correct set_type calls.



svn: r6731
2006-05-20 18:40:20 +00:00
Don Allingham
fb6dbd905c * src/Config/_GrampsConfigKeys.py: online map config value
* data/gramps.schema.in: online map config value
	* src/Config/gen_schema_keys.py: clean up


svn: r6729
2006-05-20 01:59:47 +00:00
Don Allingham
ff07f8407f * src/DataViews/_MapView.py: use config value to determine if online
maps should be used
	* src/GrampsCfg.py: online map config value
	* src/Config/_GrampsCOnfigKeys.py: online map config value
	* daa/gramps.schema.in: online map config value


svn: r6728
2006-05-20 01:49:38 +00:00
Don Allingham
54ea5271e0 2006-05-19 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: repository does not have a media_list

2006-05-17  Don Allingham  <don@gramps-project.org>
	* GrampsDb/_ReadGedcom.py: pychecker
	* GrampsDb/_GrampsDbBase.py: pychecker
	* GrampsDb/_DbUtils.py: pychecker
	* GrampsDb/_WriteGedcom.py: pychecker
	* StartupDialog.py: pychecker
	* DisplayTabs/_FamilyLdsEmbedList.py: pychecker
	* TipOfDay.py: pychecker
	* Utils.py: pychecker
	* PageView.py: pychecker
	* ToolTips.py: pychecker
	* Filters/_FilterWidget.py: pychecker
	* Filters/_SearchBar.py: pychecker
	* Filters/__init__.py: pychecker
	* Filters/_FilterStore.py: pychecker
	* Filters/_PersonSidebarFilter.py: pychecker
	* Filters/_FilterMenu.py: pychecker
	* Filters/_SidebarFilter.py: pychecker



svn: r6727
2006-05-20 01:21:37 +00:00
Alex Roitman
2fbeb27535 2006-05-19 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py (db_copy): Copy custom types.



svn: r6726
2006-05-20 00:52:47 +00:00
Martin Hawlisch
394f2d2749 * src/DataViews/_MapView.py (WMSMapTile): Start of map download inside an idle handler.
svn: r6724
2006-05-19 19:13:17 +00:00
Alex Roitman
76ea8437ed 2006-05-19 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: Define methods to get custom types.
	* src/GrampsDb/_GrampsBSDDB.py: Load/save marker_types.



svn: r6721
2006-05-19 17:32:23 +00:00
Don Allingham
ea394fd4d2 2006-05-19 Don Allingham <don@gramps-project.org>
* src/RelLib/_SecondaryObject.py: added, provide is_equal
	* src/RelLib/_Url.py: inherit from SecondaryObject
	* src/RelLib/_MediaRef.py: inherit from SecondaryObject
	* src/RelLib/_ChildRef.py: inherit from SecondaryObject
	* src/RelLib/_Name.py: inherit from SecondaryObject
	* src/RelLib/_Address.py: inherit from SecondaryObject
	* src/RelLib/_SourceRef.py: inherit from SecondaryObject
	* src/RelLib/_RepoRef.py: inherit from SecondaryObject
	* src/RelLib/_PersonRef.py: inherit from SecondaryObject
	* src/RelLib/_Attribute.py: inherit from SecondaryObject
	* src/RelLib/_Note.py: inherit from SecondaryObject
	* src/RelLib/_Location.py: inherit from SecondaryObject
	* src/RelLib/_EventRef.py: inherit from SecondaryObject
	* src/RelLib/_Event.py: inherit from SecondaryObject
	* src/RelLib/_LdsOrd.py: inherit from SecondaryObject



svn: r6720
2006-05-19 15:01:12 +00:00
Alex Roitman
e4b2a9f565 (commit_*): update custom type sets on commit.
svn: r6719
2006-05-19 00:39:22 +00:00
Alex Roitman
9203f6b32d * src/GrampsDb/_GrampsBSDDB.py: Remove unused methods; remove
unused secondary tables; add more custom type holders.
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Add more
	custom type holders.
	(XmlWriter.write_xml_data): Do not export name groups.



svn: r6718
2006-05-19 00:05:44 +00:00
Alex Roitman
d988d138f7 * src/DisplayTabs/_BackRefList.py (edit_button_clicked): Typo.
svn: r6717
2006-05-18 23:16:49 +00:00
Alex Roitman
624138a2a4 * src/DataViews/_RepositoryView.py (edit, on_double_click): Catch
exception.
	* src/GrampsWidgets.py (PlaceEntry.add_del_clicked) 
	(PlaceEntry.share_clicked): Catch exception.


svn: r6716
2006-05-18 23:02:47 +00:00
Alex Roitman
94364fc81a * src/GrampsDb/_DbUtils.py (db_copy): Copy bookmarks and gender stats.
(importData): Import bookmarks.


svn: r6715
2006-05-18 22:56:13 +00:00
Alex Roitman
addf03a616 * data/grampsxml.dtd: Update for new bookmarks.
* data/grampsxml.rng: Update for new bookmarks.
	* src/GrampsDb/_WriteXML.py (write_bookmarks): Add method to write
	new bookmarks.
	* src/GrampsDb/_ReadXML.py (start_bmark): Parse new bookmarks


svn: r6714
2006-05-18 22:17:51 +00:00
Alex Roitman
a265eac5e4 2006-05-18 Alex Roitman <shura@gramps-project.org>
* INSTALL: Clarify; list build-dependencies.
	* src/GrampsDb/_ReadGrdb.py: Update progress.



svn: r6713
2006-05-18 21:16:59 +00:00
Don Allingham
85537e7f85 state/city mapping
svn: r6711
2006-05-18 17:16:03 +00:00