Commit Graph

251 Commits

Author SHA1 Message Date
Don Allingham
cbe3804391 2007-01-25 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix goto-gramps-id key press
	* src/DataViews/_RepositoryView.py: fix goto-gramps-id key press
	* src/DataViews/_SourceView.py: fix goto-gramps-id key press
	* src/DataViews/_EventView.py: fix goto-gramps-id key press
	* src/DataViews/_FamilyList.py: fix goto-gramps-id key press
	* src/DataViews/_PedigreeView.py: fix goto-gramps-id key press
	* src/DataViews/_PlaceView.py: fix goto-gramps-id key press
	* src/DataViews/_PersonView.py: fix goto-gramps-id key press
	* src/DataViews/_RelationView.py: fix goto-gramps-id key press
	* src/ViewManager.py: fix goto-gramps-id key press
	* src/PageView.py: fix goto-gramps-id key press



svn: r7984
2007-01-26 00:15:21 +00:00
Don Allingham
fea8b51093 * src/DataViews/_MediaView.py: add view option
* src/images/Makefile.am: add stock_zoom
	* src/images/stock_zoom.png: added
	* src/gramps_main.py: register stock_zoom as a stock icon


svn: r7965
2007-01-24 00:23:39 +00:00
Alex Roitman
58b1a424bb 2007-01-22 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditSource.py (query_response): Remove sourcerefs
	from repos (indirectly, through secondary objects).
	* src/Editors/_EditPlace.py (query_response): Avoid db walk.
	* src/DataViews/_FamilyList.py (remove): Set busy cursor.
	* src/DataViews/_PlaceView.py (remove): Set busy cursor.
	* src/DataViews/_SourceView.py (remove): Set busy cursor.
	* src/DataViews/_MediaView.py (remove): Set busy cursor.
	* src/DataViews/_EventView.py (remove): Set busy cursor.
	* src/DataViews/_RepositoryView.py (remove): Set busy cursor.
	* src/Editors/_EditEventRef.py (DelEventQuery): Remove unneeded class.
	* src/Filters/Rules/_HasTextMatchingSubstringOf.py: Remove
	unneeded import.
	* src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py
	(cache_sources): Adapt to changes in get_source_referents.
	* src/Utils.py (get_source_referents): Use reference map, add
	repositories to the search results;
	(get_media_referents): Use reference map.



svn: r7958
2007-01-23 03:37:13 +00:00
Don Allingham
2d0c2bed65 2007-01-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: catch exceptions
	* src/DisplayState.py: catch exceptions
	* src/DbLoader.py: catch exceptions (DbLoader.read_file): catch exception
	* src/Filters/SideBar/_SidebarFilter.py: add tooltips for dates
	* src/Filters/SideBar/_PersonSidebarFilter.py: add tooltips for dates



svn: r7949
2007-01-22 02:17:52 +00:00
Don Allingham
182bd47b5c * src/DisplayModels/_PeopleModel.py: save current filter for rebuild (#838)
svn: r7946
2007-01-21 05:17:06 +00:00
Don Allingham
a41031ddef * src/QuestionDialog.py: close window before calling callback
if the view is not in focus. Fix delete display by calling build_tree


svn: r7944
2007-01-21 00:16:08 +00:00
Don Allingham
81abc62ace 2007-01-20 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py (PersonView.change_db): apply
	dirty flag to initial build to prevent forcing of build on load
	if the view is not in focus.



svn: r7943
2007-01-20 22:49:09 +00:00
Alex Roitman
44a479b3d8 * src/DataViews/_EventView.py (remove): Use reference map to find
references to remove. 
	* src/ViewManager.py (undo,redo): Busy cursor.
	* src/DataViews/_PersonView.py (delete_person_response): Busy cursor;
	Use reference map to find references to remove.


svn: r7940
2007-01-20 17:21:45 +00:00
Alex Roitman
d6f654a0e0 2007-01-20 Alex Roitman <shura@gramps-project.org>
* src/Utils.py (profile): Accept and pass additional arguments.
	* src/DataViews/_PersonView.py (delete_person_response): Busy cursor.



svn: r7937
2007-01-20 09:35:40 +00:00
Don Allingham
1b9e4e8f50 2007-01-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: remove loop
	* src/PageView.py: check for null model



svn: r7935
2007-01-20 04:22:31 +00:00
Martin Hawlisch
e62527c42a * src/DataViews/_PedigreeView.py: Cache result of probably_alive(); Call find_tree() only once for all sizes; Cache results in FormattingHelper;
svn: r7929
2007-01-18 12:02:16 +00:00
Don Allingham
e0be7c4f13 2007-01-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: optimizations
	* src/ViewManager.py: optimizations
	* src/gramps_main.py: optimizations
	* src/PageView.py: optimizations



svn: r7927
2007-01-18 04:29:52 +00:00
Martin Hawlisch
53ab0c08f0 * src/DataViews/_PersonView.py: Expand all nodes on interactive search
svn: r7924
2007-01-17 16:16:29 +00:00
Don Allingham
38cff6178c 2007-01-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: optimization
	* src/ViewManager.py: remove double build call
	* src/DisplayModels/_PeopleModel.py: optimization



svn: r7920
2007-01-17 00:31:06 +00:00
Don Allingham
6a38e94b6e 2007-01-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py (PersonView): disable cursor
	callbacks



svn: r7916
2007-01-16 13:20:47 +00:00
Don Allingham
88e4ddc0a6 2007-01-15 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: use watch cursor on node expand
	* src/GrampsDb/_ReadGedcom.py: handle empty repo instances
	* src/plugins/TestCaseGenerator.py: fix typo
	* src/DisplayState.py: manage watch cursors better (don't set twice)
	* src/DisplayModels/_PeopleModel.py: maintain backref hash table for quick access 
	to iter to node mappings at the top level.



svn: r7914
2007-01-16 05:54:40 +00:00
Don Allingham
39368e4eb6 * src/DataViews/_MediaView.py: pylint
* src/DataViews/_RepositoryView.py: pylint
	* src/DataViews/_SourceView.py: pylint
	* src/DataViews/_EventView.py: pylint
	* src/DataViews/_FamilyList.py: pylint
	* src/DataViews/_PlaceView.py: pylint
	* src/DataViews/__init__.py: pylint
	* src/DataViews/_PersonView.py: pylint
	* src/DataViews/Makefile.am: pylint
	* src/DataViews/_RelationView.py: pylint
	* src/RelLib/_CalSdn.py: pylint
	* src/RelLib/_Person.py: pylint
	* src/RelLib/_Family.py: pylint
	* src/RelLib/_EventType.py: pylint
	* src/RelLib/_GrampsType.py: pylint
	* src/RelLib/_Event.py: pylint
	* src/RelLib/_LdsOrd.py: pylint
	* src/PageView.py: pylint


svn: r7885
2007-01-09 04:32:07 +00:00
Don Allingham
2763f19b41 2007-01-03 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: lint fixes
	* src/DataViews/_PersonView.py: lint fixes
	* src/RelLib/_Person.py: lint fixes
	* src/RelLib/_PrimaryObject.py: lint fixes
	* src/Selectors/_BaseSelector.py: lint fixes
	* src/GrampsWidgets.py: lint fixes
	* src/Spell.py: lint fixes
	* src/PageView.py: lint fixes
	* src/Filters/_SearchFilter.py: lint fixes
	* src/Filters/SideBar/_MediaSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_SourceSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_EventSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_FamilySidebarFilter.py: lint fixes
	* src/Filters/SideBar/_PlaceSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_RepoSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_PersonSidebarFilter.py: lint fixes



svn: r7866
2007-01-04 05:09:41 +00:00
Martin Hawlisch
97bbe13b6e * src/DataViews/_RelationView.py: removed change_page(): Do not set the toolbar buttons to a possibly wrong state, these are set by _change_person properly.
svn: r7859
2006-12-30 21:47:19 +00:00
Don Allingham
fbd5225f04 2006-12-30 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py:  Add edit button to view, shorten names of 
	buttons
	* src/GrampsDb/_GrampsGEDDB.py: properly handle bookmark list



svn: r7858
2006-12-30 17:49:08 +00:00
Don Allingham
f2a4002d5e * src/DataViews/_PersonView.py: use a container for bookmarks to prevent
lost of data (bug #777)
	* src/GrampsDb/_GrampsDbBase.py: use a container for bookmarks to prevent
	lost of data (bug #777)
	* src/GrampsDb/_GrampsBSDDB.py: use a container for bookmarks to prevent
	lost of data (bug #777)
	* src/Bookmarks.py: use a container for bookmarks to prevent
	lost of data (bug #777)


svn: r7830
2006-12-21 03:28:44 +00:00
Alex Roitman
8dd862fc93 * src/DataViews/_PersonView.py (person_removed): Typo.
svn: r7824
2006-12-19 18:03:34 +00:00
Don Allingham
e0c8c1379b * src/DataViews/_PersonView.py: exact search for gender (bug #633)
* src/DisplayModels/_PeopleModel.py: exact search for gender (bug #633)
	* src/Filters/_SearchFilter.py: exact search for gender (bug #633)
	* src/Filters/__init__.py: export ExactSearchFilter


svn: r7817
2006-12-19 04:47:07 +00:00
Don Allingham
4a67435c92 * src/DataViews/_EventView.py: disable items with readonly db (bug #771)
* src/DataViews/_PersonView.py: disable items with readonly db (bug #771)
	* src/DataViews/_RelationView.py: disable items with readonly db (bug #771)
	* src/ViewManager.py: disable items with readonly db (bug #771)
	* src/PageView.py: disable items with readonly db (bug #771)


svn: r7816
2006-12-19 02:29:47 +00:00
Martin Hawlisch
8059e67938 * src/DataViews/_PedigreeView.py,
* src/DataViews/_RelationView.py,
* src/Editors/_EditLdsOrd.py,
* src/Editors/_EditSourceRef.py,
* src/Editors/_EditAttribute.py,
* src/Editors/_EditPerson.py,
* src/Editors/_EditEventRef.py,
* src/Editors/_EditName.py,
* src/DisplayTabs/_ButtonTab.py: Hide some more controls when readonly



svn: r7801
2006-12-14 15:32:33 +00:00
Martin Hawlisch
a8f4ed6b20 * src/DataViews/_PedigreeView.py: Escape XML special chars
svn: r7790
2006-12-12 12:57:21 +00:00
Martin Hawlisch
964c65b895 * src/DataViews/_RelationView.py: Escape XML special chars
svn: r7789
2006-12-12 12:05:19 +00:00
Martin Hawlisch
ea86f9870b * src/DataViews/_RelationView.py: Escape XML special chars
* src/DataViews/_PedigreeView.py: Escape XML special chars
* src/plugins/TestcaseGenerator.py: Create media note object; Randomize URL



svn: r7787
2006-12-12 11:49:57 +00:00
Martin Hawlisch
26d7732cf6 * src/DataViews/_RelationView.py (change_person): Break endless loop by passing the return values from _change_person.
svn: r7779
2006-12-11 13:45:01 +00:00
Don Allingham
fa8085031b 2006-12-10 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: RunDatabaseRepair integration
	* src/GrampsDb/_WriteGedcom.py: RunDatabaseRepair integration
	* src/QuestionDialog.py: RunDatabaseRepair dialog to warn users to run
	database checks



svn: r7777
2006-12-11 04:10:46 +00:00
Don Allingham
41ff120b1a 2006-12-09 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: external view support for media objects
	* src/Editors/_EditPlace.py: external view support for media objects
	* src/Editors/_EditMediaRef.py: external view support for media objects
	* src/Editors/_EditMedia.py: external view support for media objects
	* src/glade/gramps.glade: external view support for media objects



svn: r7773
2006-12-10 04:24:11 +00:00
Zsolt Foldvari
75526dbc76 2006-12-07 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_PlaceView.py (google): Use city, country of main
	location in google query.



svn: r7766
2006-12-06 23:31:54 +00:00
Alex Roitman
5bf3d98930 In .:
2006-12-06  Alex Roitman  <shura@gramps-project.org>
	* src/Makefile.am (gdir_PYTHON): Ship new file.

2006-12-06  Benny Malengier  <bm@cage.UGent.be>
	* src/PlaceUtils.py: Add new file.
	* src/DataViews/_PlaceView.py (google): Use new module.

In po:
2006-12-06  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: List new file.



svn: r7765
2006-12-06 17:52:48 +00:00
Don Allingham
0f20ae03d2 * src/DataViews/_RelationView.py: fix reorder spouse sensitivity
svn: r7760
2006-12-04 23:53:19 +00:00
Don Allingham
01ebb7e67a 2006-12-03 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: improve tooltips
	* src/GrampsWidgets.py: tooltip support



svn: r7756
2006-12-04 05:03:58 +00:00
Don Allingham
a2fd59a7fd 2006-12-02 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: disable buttons when person is inactive
	* src/plugins/Check.py: remove duplicate children in a family



svn: r7752
2006-12-03 05:20:15 +00:00
Martin Hawlisch
2c4d5d0750 * src/DataViews/_RelationView.py: Show buttons for reorder and add parents in case the toolbar is not visible.
svn: r7742
2006-12-01 16:17:26 +00:00
Martin Hawlisch
34c52b7192 * src/DataViews/_RelationView.py (write_title): Always write Label for birth and death.
svn: r7733
2006-11-29 19:40:43 +00:00
Don Allingham
bc856d0989 2006-11-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: remove unused button
	* help/C/figures/family.png: updated
	* help/C/figures/reorder.png: new image
	* help/C/gramps.xml: updates



svn: r7670
2006-11-23 05:01:18 +00:00
Martin Hawlisch
19c431c6dd * src/ReportBase/_ReportUtils: Factor out common code into get_birth_or_fallback() and get_death_or_fallback()
* src/DataViews/_PedigreeView.py: Use get_birth/death_or_fallback()
* src/DataViews/_RelationView.py: Use get_birth/death_or_fallback()
* src/DisplayModels/_PeopleModel.py: Fix EventRoleType call



svn: r7669
2006-11-22 22:30:47 +00:00
Don Allingham
58da9fb6ef 2006-11-18 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationshipView.py: fix messages
	* help/C/gramps.xml: improvements in text
	* various: remove unused figures



svn: r7646
2006-11-19 02:00:18 +00:00
Don Allingham
8058b51624 2006-11-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: share parents button
	* src/images/share-fam.png: share parents button
	* src/gramps_main.py: share parents button



svn: r7638
2006-11-17 05:17:13 +00:00
Martin Hawlisch
592310d256 * src/Filters/Rules/Person/_HasBirth.py,
* src/Filters/Rules/Person/_HasDeath.py,
* src/Filters/Rules/Person/_HasEvent.py: Only match filter if event role = primary

* src/RelLib/_Person.py (_remove_handle_references): Correct removing of person handle reference; (get_sourcref_child_list) Add self.person_ref_list because they link to persons and sources

* src/DataViews/_PersonView.py (delete_person_response): Remove person from other persons as well because of PersonRef.


svn: r7607
2006-11-10 21:27:08 +00:00
Martin Hawlisch
3bff15e1a8 * src/DataViews/_PedigreeView.py,
* src/DataViews/_RelationView.py,
* src/DisplayModels/_PeopleModel.py: Only show fallbacks for birth and death if role=primary



svn: r7605
2006-11-10 16:23:11 +00:00
Martin Hawlisch
bad12c819d * src/DataViews/_RelationView.py (info_string): Use DateHandler instead of the date object to display the date
* src/DataViews/_PedigreeView.py (format person:  Use DateHandler instead of the date object to display the date (closes #565)



svn: r7598
2006-11-09 13:04:21 +00:00
Don Allingham
5e726de052 button config value change, freeze person info
svn: r7591
2006-11-09 05:52:49 +00:00
Don Allingham
27e1475f55 * src/DataViews/_RelationView.py: add toolbar buttons, catch edit
button config value change
	* src/GrampsCfg.py: reorder options


svn: r7588
2006-11-09 04:55:51 +00:00
Don Allingham
76640d9433 2006-11-08 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: add toolbar buttons
	* src/images/Makefile.am: install new svg files
	* src/images/parents.svg: button for toolbar
	* src/images/spouse.svg: button for toolbar
	* src/gramps_main.py: register new stock icons



svn: r7587
2006-11-09 04:18:18 +00:00
Don Allingham
8b7febbe35 * src/DataViews/_RelationshipView.py: Optionally hide Edit buttons
* src/Config/_GrampsConfigKeys.py: Optionally hide Edit buttons
	* src/GrampsWidgets.py: Allow empty button for LinkBox


svn: r7581
2006-11-08 05:15:26 +00:00
Alex Roitman
8b3c4359ef 2006-11-07 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_RelationView.py (info_string): Add missing clause.



svn: r7579
2006-11-07 20:48:15 +00:00