Commit Graph

2628 Commits

Author SHA1 Message Date
Brian Matherly
4d83a7d828 * src/docgen/OpenOfficeDoc.py: Allow large cells to span pages (bug 0000165)
svn: r6803
2006-05-28 15:10:47 +00:00
Alex Roitman
1f5b6c5748 * src/plugins/Verify.py: More updates.
svn: r6799
2006-05-28 04:17:46 +00:00
Alex Roitman
ee0b61433d 2006-05-27 Alex Roitman <shura@gramps-project.org>
* src/docgen/LPRDoc.py: Typo.



svn: r6798
2006-05-28 02:33:03 +00:00
Brian Matherly
58e213e22b Add provisions for local mo files for Windows
svn: r6797
2006-05-27 21:04:44 +00:00
Brian Matherly
ba3fc60e51 src/plugins/IndivComplete.py: Add event notes
svn: r6796
2006-05-27 03:39:43 +00:00
Alex Roitman
6db98a5e1f * src/BasicUtils.py (UpdateCallback.reset): Add method.
(Verify.on_apply_clicked): Reset the progress.


svn: r6794
2006-05-26 23:38:21 +00:00
Alex Roitman
b9cd8ee6c8 2006-05-26 Alex Roitman <shura@gramps-project.org>
* src/plugins/verify.glade: update interface.
	* src/plugins/Verify.py: More improvements. Still need to finish
	filtering and object editing on double click.



svn: r6792
2006-05-26 23:11:37 +00:00
Alex Roitman
c5f3eed5b6 Update
svn: r6791
2006-05-26 23:08:27 +00:00
Don Allingham
8ec6242dd7 2006-05-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: build skip list for SelectFamily so that
	* a person cannot be his own parent
	* src/Editors/_EditFamily.py: don't allow a person to be his own parent
	* src/Selectors/_BaseSelector.py: Add skipping of handles
	* src/DisplayModels/_BaseModel.py: Add skipping of handles
	* src/DisplayModels/_MediaModel.py: Add skipping of handles
	* src/DisplayModels/_RepositoryModel.py: Add skipping of handles
	* src/DisplayModels/_SourceModel.py: Add skipping of handles
	* src/DisplayModels/_EventModel.py: Add skipping of handles
	* src/DisplayModels/_FamilyModel.py: Add skipping of handles
	* src/DisplayModels/_PlaceModel.py: Add skipping of handles



svn: r6790
2006-05-26 20:48:40 +00:00
Don Allingham
6a52f53e2a * src/DisplayTabs/_NoteTab.py (NoteTab.flow_changed): save flow status
in Note


svn: r6787
2006-05-26 04:09:36 +00:00
Don Allingham
1772ac7d01 * src/Merge/_MergeSource.py: note handling on source merge
* src/glade/mergedata.glade: note handling on source merge


svn: r6786
2006-05-26 03:07:48 +00:00
Don Allingham
82647857d3 * src/Makefile.am: remove deleted files
svn: r6785
2006-05-26 00:44:18 +00:00
Don Allingham
6b7ed2cbc4 2006-05-25 Don Allingham <don@gramps-project.org>
* configure.in: add Merge directory



svn: r6782
2006-05-26 00:10:59 +00:00
Alex Roitman
cbc4c8fef5 2006-05-25 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: More rework, still in progress.



svn: r6780
2006-05-25 23:59:51 +00:00
Don Allingham
594ce4ce53 * src/Merge/_MergePlace.py: handle notes
* src/glade/mergedata.glade: handle notes


svn: r6779
2006-05-25 23:43:34 +00:00
Don Allingham
305b3d7bd1 * src/DataViews/_PersonView.py: Merge module support
* src/Merge/_MergeSource.py: broken out of MergeData.py
	* src/Merge/__init__.py: support of module
	* src/Merge/Makefile.am: added
	* src/Merge/_MergePlace.py: broken out of MergeData.py
	* src/Merge/_MergePerson.py: renamed


svn: r6778
2006-05-25 21:02:49 +00:00
Don Allingham
d5f33362ac * src/DataViews/_SourceView.py: source merge support
svn: r6777
2006-05-25 20:35:04 +00:00
Don Allingham
081f5079d5 2006-05-25 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: place merge support
	* src/glade/mergedata.glade: place merge support
	* src/MergeData.py: place merge support
	* src/PageView.py: add support for multiselection



svn: r6776
2006-05-25 19:39:44 +00:00
Alex Roitman
b84af9322a 2006-05-24 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Start major rework, still in progress.



svn: r6774
2006-05-25 05:18:03 +00:00
Don Allingham
00a5154a67 * src/DataViews/_PersonView.py: merge functionality
* src/ViewManager.py: merge functionality
	* src/MergePeople.py: fix merge (ui and birth/death events)
	* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries


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


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



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



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



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



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



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



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


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


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



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



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



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



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


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



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



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



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



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

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


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



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


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


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



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



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


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



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


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


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

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



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



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



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



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



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


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


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


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



svn: r6713
2006-05-18 21:16:59 +00:00
Don Allingham
85537e7f85 state/city mapping
svn: r6711
2006-05-18 17:16:03 +00:00
Don Allingham
eb510527db fix ansel detection
svn: r6710
2006-05-18 16:08:56 +00:00
Don Allingham
382ae81515 Fix media ref glade description
svn: r6709
2006-05-18 15:22:53 +00:00
Alex Roitman
4da1b1b579 * src/GrampsDb/_ReadXML.py (start_childref): Typo.
svn: r6705
2006-05-18 04:40:37 +00:00
Alex Roitman
8215cf553d * src/GrampsDb/_ReadGrdb.py: Add repos, modularize.
svn: r6704
2006-05-18 04:16:54 +00:00
Alex Roitman
ad2e6ddbeb 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py: Reorder calls to make work with ArgHandler.



svn: r6702
2006-05-18 03:11:15 +00:00
Don Allingham
ae6da05e4b 2006-05-17 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: pychecker fixes
	* src/GrampsWidgets.py: pychecker fixes
	* src/glade/gramps.glade: fix text entry -> label
	* src/NameDisplay.py: pychecker fixes
	* src/DisplayState.py: pychecker fixes
	* src/GrampsDisplay.py: pychecker fixes
	* src/DateEdit.py: pychecker fixes
	* src/gramps_main.py: pychecker fixes
	* src/DbLoader.py: pychecker fixes



svn: r6701
2006-05-18 01:39:50 +00:00
Alex Roitman
ae8ec93201 * src/ArgHandler.py: Adapt to recent changes.
* src/BasicUtils.py (update_empty): Clean up callback.
	* src/GrampsDb/_ReadGedcom.py: Clean up callback.


svn: r6700
2006-05-18 01:02:52 +00:00
Alex Roitman
d95f546782 In .:
* src/GrampsDb/_GrampsDbBase.py (DbState.change_database_noclose):
	Add new method.
	* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-17  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6699
2006-05-17 23:36:31 +00:00
Alex Roitman
d3c9a148dd 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/DbLoader.py: add new module.
	* src/ViewManager.py: Use DbLoader.
	* src/DisplayState.py (load): Do not perform post_load tasks.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): close if
	version is incopmatible.



svn: r6698
2006-05-17 21:16:59 +00:00
Don Allingham
b06911309a * src/GrampsDb/_GrampsDbBase.py: remove place name storage
* src/Editors/_EditLdsOrd.py: new SelectPlace interface
	* src/glade/gramps.glade: new select place interface changes


svn: r6697
2006-05-17 20:42:02 +00:00
Don Allingham
0a2c8f684f * src/Editors/_EditEventRef.py: new SelectPlace interface, remove
old code


svn: r6696
2006-05-17 20:21:16 +00:00
Don Allingham
9b03472a0a 2006-05-17 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: new SelectPlace interface
	* src/Editors/_EditEventRef.py: new SelectPlace interface
	* src/Editors/_EditEvent.py: new SelectPlace interface
	* src/GrampsWidgets.py: new Place editor interface



svn: r6695
2006-05-17 19:32:19 +00:00
Alex Roitman
25860314ed 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/GrampsWidgets.py (LinkLabel.__init__): Set cursor to HAND1.



svn: r6694
2006-05-17 18:12:16 +00:00
Stefan Bjork
89e9846b79 Update.
svn: r6693
2006-05-17 14:42:36 +00:00
Martin Hawlisch
9904f654f3 * src/glade/gramps.glade,
* src/TipOfDay.py: Use a gtk.Window instead of a Dialog to work around the "Button not clickable again" gtk-bug. (closes #0000033)



svn: r6691
2006-05-17 13:50:49 +00:00
Alex Roitman
b21da17659 * src/glade/gramps.glade (select_person): Name the box.
* src/DataViews/_MediaView.py (row_change): Collect garbage on the
	row change.
	* src/Selectors/_BaseSelector.py: Use DisplaModel models;
	(_local_init): Add selector-specific hook.
	(_local_init): Set up preview; 
	(_row_change): Show preview; collect garbage.


svn: r6690
2006-05-17 06:13:37 +00:00
Alex Roitman
a90a6fb15f 2006-05-16 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditLdsOrd.py: Adapt to new selector.
	* src/DisplayTabs/_SourceEmbedList.py: Adapt to new selector.
	* src/DisplayTabs/_EventEmbedList.py: Adapt to new selector.
	* src/DisplayTabs/_GalleryTab.py: Adapt to new selector.
	* src/Selectors/_BaseSelector.py: Use DisplaModel models.
	* src/Selectors/_SelectRepository.py: Use DisplaModel models.
	* src/Selectors/_SelectSource.py: Use DisplaModel models.
	* src/Selectors/_SelectEvent.py: Use DisplaModel models.
	* src/Selectors/_SelectFamily.py: Use DisplaModel models.
	* src/Selectors/_SelectPlace.py: Use DisplaModel models.
	* src/Selectors/_SelectObject.py: Use DisplaModel models.



svn: r6687
2006-05-17 04:43:53 +00:00
Don Allingham
3b894e16dd * src/Editors/_EditEvent.py: start of SelectPlace integration
* src/glade/gramps.glade: start of SelectPlace integration
	* src/GrampsWidgets.py: start of SelectPlace integration


svn: r6686
2006-05-17 04:35:03 +00:00
Don Allingham
c238d31795 * src/DisplayTabs/_WebEmbedList.py: icon fixes
* src/images/stock_insert-url.png: added
	* src/images/person.png: added
	* src/images/relation.png: added
	* src/images/Makefile.am: added new images
	* src/gramps_main.py: register icons as stock


svn: r6685
2006-05-17 03:01:09 +00:00
Don Allingham
5bfd79c6a3 2006-05-16 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: handle blank lines



svn: r6684
2006-05-17 01:23:14 +00:00
Alex Roitman
3b6d63e48f In .:
* src/Selectors/_SelectPerson.py: Use new package.
	* src/plugins/RelCalc.py: Use new package.
	* src/DataViews/_PersonView.py: Use new package.
	* src/DisplayModels: Make new package.
	* src/Makefile.am: Remove old files.
In po:
	* POTFILES.in: Add new files; remove old files.


svn: r6683
2006-05-17 00:48:46 +00:00
Alex Roitman
66c08cbf34 In .:
2006-05-16  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_PersonSidebarFilter.py: Import gettext.
	* src/Filters/_SidebarFilter.py: Import gettext.
	* src/Filters/Makefile.am: Ship new files.

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



svn: r6682
2006-05-16 18:32:47 +00:00
Martin Hawlisch
387f33c94a * src/DataViews/_PedigreeView.py: work around bug in database-changed signals
svn: r6681
2006-05-16 14:57:17 +00:00
Martin Hawlisch
2bc240dd5f * src/DataViews/_PedigreeView.py: Add navigation-arrows to the tree
svn: r6680
2006-05-16 13:53:11 +00:00
Alex Roitman
160ae6fb4f 2006-05-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
	close() on close.
	* src/GrampsDb/_GrampsGEDDB.py: Use callback, call parent's
	close() on close.
	* src/GrampsDb/_WriteXML.py: Use new callback class.
	* src/GrampsDb/_WriteGedcom.py: Use new callback class.
	* src/GrampsDb/_DbUtils.py (db_copy): Update secondary indices for
	the InMem databases.



svn: r6679
2006-05-16 03:47:58 +00:00
Don Allingham
392f412261 * src/ViewManager.py: new stock icon support
* src/gramps_main.py: new stock icon support
	* src/PageView.py: new stock icon support
	* src/images/stock_new-html.png: added
	* src/images/stock_delete-bookmark.png: added
	* src/images/stock_export.png: added
	* src/images/stock_edit-bookmark.png: added
	* src/images/stock_add-bookmark.png: added
	* src/images/stock_undo-history.png: added
	* src/images/stock_bookmark.png: added


svn: r6678
2006-05-16 03:35:10 +00:00
Don Allingham
01484991db 2006-05-15 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_DataEmbedList.py: disable DND



svn: r6677
2006-05-16 02:14:25 +00:00
Alex Roitman
641e50000b * src/ViewManager.py (save_as_activate): Use Save button in dialog.
svn: r6676
2006-05-15 22:04:49 +00:00
Don Allingham
f4424a4c2c * src/DisplayTabs/_PersonEventEmbedList.py: fix selection of default type
svn: r6675
2006-05-15 21:59:14 +00:00
Alex Roitman
d7c9ed7be5 2006-05-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py: import proper class.



svn: r6674
2006-05-15 21:56:57 +00:00
Alex Roitman
dc7053df55 * src/Selectors/_Select*.py: Subclass from BaseSelector.
* src/Selectors/Makefile.am: Ship new file.
	* src/Selectors/_BaseSelector.py: Add new file.



svn: r6673
2006-05-15 20:50:25 +00:00
Don Allingham
67475a87cd * src/Filters/__init__.py: add SidebarFilter, PersonSidebarFilter
* src/Filters/_SidebarFilter.py: added
	* src/Filters/_PersonSidebarFilter.py: added


svn: r6672
2006-05-15 20:37:19 +00:00
Don Allingham
542927d48a 2006-05-15 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: cleaner interface to filters
	* src/plugins/RelCalc.py: cleaner interface to filters
	* src/PeopleModel.py: cleaner interface to filters
	* src/Selectors/_SelectPerson.py: cleaner interface to filters



svn: r6671
2006-05-15 18:49:35 +00:00
Alex Roitman
fc36af2974 * src/DataViews/_SourceView.py (edit,on_double_click): Catch exception.
svn: r6670
2006-05-15 16:03:10 +00:00
Alex Roitman
e0b3dc141d In .:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Generate new Makefile.
	* src/Makefile.am: adapt to new module.
	* src/Selectors: separate selectors in their own module.
	* src/Select*.py: move to Selectors.
	* src/DataViews/_FamilyView.py: Use new module.
	* src/Editors/_EditLdsOrd.py: Use new module.
	* src/Editors/_EditPersonRef.py: Use new module.
	* src/Editors/_EditFamily.py: Use new module.
	* src/DisplayTabs/_SourceEmbedList.py: Use new module.
	* src/DisplayTabs/_RepoEmbedList.py: Use new module.
	* src/DisplayTabs/_EventEmbedList.py: Use new module.
	* src/DisplayTabs/_GalleryTab.py: Use new module.
	* src/plugins/FilterEditor.py: Use new module.
	* src/plugins/SimpleBookTitle.py: Use new module.
	* src/PluginUtils/_Report.py: Use new module.

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



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

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


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


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


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



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



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



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



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



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



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



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


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


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


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



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



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


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


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

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


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


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

In po:
	* gramps.pot: Update.


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


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

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



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



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


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



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


svn: r6618
2006-05-11 06:16:45 +00:00