Commit Graph

118 Commits

Author SHA1 Message Date
Brian Matherly
e3068f3185 Replace "get_note()" calls with "get_note_list()" in filters that use it.
svn: r8748
2007-07-20 12:16:34 +00:00
Alex Roitman
953f45ce51 2007-06-30 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_TemplateParser.py: Close file after parsing.
	* src/ReportBase/_ReportOptions.py (OptionListCollection.parse):
	Close file after parsing.
	* src/ReportBase/_PaperMenu.py: Close file after parsing.
	* src/plugins/BookReport.py (BookList.parse): Close file after parsing.
	* src/Filters/_FilterList.py (load): Close file after parsing.
	* src/BaseDoc.py (StyleSheetList.parse): Close file after parsing.



svn: r8687
2007-06-30 18:58:14 +00:00
Don Allingham
c0737ebfe3 2007-06-24 Don Allingham <don@gramps-project.org>
* configure.in: add files
	* src/DataViews/_RelationView.py: fix translation argument
	* src/RelLib/Makefile.am: Add missing files
	* src/plugins/Makefile.am: Add missing files
	* src/DbManager.py: fix translation argument
	* src/Utils.py: fix translation argument
	* src/Filters/Rules/Person/Makefile.am: Add missing files
	* src/Makefile.am: Add missing files



svn: r8661
2007-06-25 04:57:53 +00:00
Alex Roitman
d1f776c3bb 2007-06-23 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.

2007-06-16  Peter Landgren  <peter.talken@telia.com>
	* sv.po: Update.

2007-06-16  Matthias Alles  <alles@rhrk.uni-kl.de>
	* de.po: Fixes.

2007-06-15  Matthias Alles  <alles@rhrk.uni-kl.de>
	* de.po: Fix the "was the son of" problem.

2007-06-13  Morten Bo Johansen  <mbj@spamcop.net>
	* da.po: Translation update.

2007-05-24  Lubo Vasko  <pgval@inMail.sk>
	* sk.po: Translation update.

2007-05-21 Arturas Sleinius  <asleinius@users.sourceforge.net>
        * lt.po: updated Lithuanian translation

2007-05-21  Stefan Björk  <betula@users.sourceforge.net>
	* sv.po: Translation update; bug #0001058.

2007-05-17  Espen Berg  <espen.berg@ntnu.no>
	* nb.po: Translation update
	* no.po: Translation update

2007-05-14  Espen Berg  <espen.berg@ntnu.no>
	* nb.po: Translation update
	* no.po: Translation update

2007-04-17  Lubo Vasko  <pgval@inMail.sk>
	* sk.po: Translation update.

2007-04-17  Piotr Czubaszek  <pioterus@gmail.com>
	* pl.po: Translation update.

2007-04-17 Arturas Sleinius  <asleinius@users.sourceforge.net>
	* lt.po: updated Lithuanian translation

2007-03-08  Stefan Björk  <betula@users.sourceforge.net>
	* sv.po: Translation update.

2007-03-07  Stefan Björk  <betula@users.sourceforge.net>
	* sv.po: Translation update.

2007-02-20  Espen Berg  <espen.berg@ntnu.no>
	* nb.po: Translation update
	* no.po: Translation update

2007-02-15  Piotr Czubaszek  <pioterus@gmail.com>
	* pl.po: Translation update.

2007-02-14  Espen Berg  <espen.berg@ntnu.no>
	* nb.po: Translation update
	* no.po: Translation update



svn: r8640
2007-06-23 21:51:57 +00:00
Brian Matherly
844e1966c5 Add "People missing parent" filter.
svn: r8638
2007-06-23 15:59:51 +00:00
Alex Roitman
f5c87ae46a 2007-06-20 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_RelationshipPathBetween.py
	(apply_filter): Object/handle mixup, #1090.



svn: r8613
2007-06-20 19:21:26 +00:00
Alex Roitman
5c5921d9ea 2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_IsChildOfFilterMatch.py
	(IsChildOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py
	(IsAncestorOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py
	(IsDescendantOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py
	(HasCommonAncestorWithFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsParentOfFilterMatch.py
	(IsParentOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsSiblingOfFilterMatch.py
	(IsSiblingOfFilterMatch): Subclass MatchesFilter.
	* src/Filters/Rules/Person/_IsSpouseOfFilterMatch.py
	(IsSpouseOfFilterMatch): Subclass MatchesFilter.



svn: r8560
2007-06-16 20:03:59 +00:00
Don Allingham
7b7abd95dd * src/DataViews/_PersonView.py:
* src/PageView.py:
	* src/Filters/SideBar/_MediaSidebarFilter.py:
	* src/Filters/SideBar/_SidebarFilter.py:
	* src/Filters/SideBar/_SourceSidebarFilter.py:
	* src/Filters/SideBar/_EventSidebarFilter.py:
	* src/Filters/SideBar/_FamilySidebarFilter.py:
	* src/Filters/SideBar/_PlaceSidebarFilter.py:
	* src/Filters/SideBar/_RepoSidebarFilter.py:
	* src/Filters/SideBar/_NoteSidebarFilter.py:
	* src/Filters/SideBar/_PersonSidebarFilter.py: Pass dbstate to SidebarFilters

2007-05-07  Don Allingham  <don@gramps-project.org>


svn: r8444
2007-05-08 04:08:25 +00:00
Brian Matherly
26bda1fdae Fix errors in bookmark filters.
svn: r8429
2007-04-28 03:55:43 +00:00
Brian Matherly
c36c05775e 0000970: _IsBookmarked.py causes crash
svn: r8416
2007-04-21 18:58:34 +00:00
Don Allingham
30ce0c5291 2007-04-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: display matches in statusbar
	* src/DataViews/_PersonView.py: display matches in statusbar
	* src/DataViews/_RelationView.py: display matches in statusbar
	* src/DisplayState.py: display matches in statusbar
	* src/DisplayModels/_BaseModel.py: display matches in statusbar
	* src/DisplayModels/_PeopleModel.py: display matches in statusbar
	* src/GrampsDbUtils/_GedcomParse.py: display matches in statusbar
	* src/PageView.py: display matches in statusbar
	* src/Filters/_SearchBar.py: display matches in statusbar
	* src/DbManager.py: fix default file name



svn: r8346
2007-04-01 22:37:10 +00:00
Don Allingham
2ca305b204 2007-03-05 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for close button on filter sidebar
	* src/DisplayModels/_BaseModel.py: support for marker coloring
	* src/DisplayModels/_FamilyModel.py: support for marker coloring
	* src/PageView.py: support for marker coloring
	* src/Filters/SideBar/_SidebarFilter.py: provide close button
	* src/Filters/SideBar/_PersonSidebarFilter.py: cleanup



svn: r8272
2007-03-06 04:13:14 +00:00
Martin Hawlisch
ac3e84d207 * src/DataViews/_NoteView.py: Enable filter editor
* src/FilterEditor/_FilterEditor.py: Note Filter Editor
* src/FilterEditor/_EditRule.py: Note Filter Editor
* src/Filters/Rules/Note/_HasNote.py: Rename label
* src/Filters/Rules/Note/__init__.py: Add more rules
* src/Filters/Rules/__init__.py: Add Note Rules



svn: r8232
2007-02-25 12:19:47 +00:00
Martin Hawlisch
609bfbc9eb * src/Filters/_GenericFilter.py: Add GenericNoteFilter
* src/Filters/Rules/Makefile.am: Add new Note subfolder
* src/Filters/Rules/Note/*: Added new files
* src/Filters/SideBar/_NoteSidebarFilter.py: New file
* src/Filters/SideBar/Makefile.am: Add NoteSidebarFilter
* src/Filters/SideBar/__init__.py: Add NoteSidebarFilter
* src/DataViews/_NoteView.py: Enable NoteSidebarFilter
* po/POTFILES.in: Add the new files
* configure.in: Add new subfolder



svn: r8226
2007-02-24 19:16:50 +00:00
Don Allingham
0f1dd60323 2007-01-29 Benny Malengier <benny.malengier@ugent.be>
* src/DataViews/_PersonView.py: numlock handling
	* src/PageView.py: numlock handling
	* src/Filters/_SearchBar.py: numblock handling
	* src/Filters/SideBar/_SidebarFilter.py: numblock handling

	* src/DataViews/_PersonView.py: refactoring
	* src/DisplayModels/_PeopleModel.py: refactoring


svn: r8013
2007-01-30 04:35:13 +00:00
Don Allingham
07473000d5 svn: r7986 2007-01-26 05:10:51 +00:00
Don Allingham
4812f0c8cc * src/DataViews/_MediaView.py: keybindings
* src/DataViews/_RepositoryView.py: keybindings
	* src/DataViews/_SourceView.py: keybindings
	* src/DataViews/_EventView.py: keybindings
	* src/DataViews/_FamilyList.py: keybindings
	* src/DataViews/_PlaceView.py: keybindings
	* src/DataViews/_PersonView.py: keybindings
	* src/ViewManager.py: keybindings
	* src/PageView.py: keybindings

2007-01-25  Benny Malengier  <benny.malengier@ugent.be>
	* src/Filters/Rules/Place/Makefile.am: add new files
	* src/Filters/Rules/Place/_InLatLonNeighborhood.py: added
	* src/Filters/Rules/Place/_HasNoteMatchingSubstringOf.py: added
	* src/Filters/Rules/Place/__init__.py: add new filters

2007-01-25  Don Allingham  <don@gramps-project.org>


svn: r7985
2007-01-26 05:09:25 +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
b656e879fe svn: r7948 2007-01-21 21:32:53 +00:00
Richard Taylor
66b5f7af4b fix get_cursor funcs
svn: r7918
2007-01-16 16:29:12 +00:00
Don Allingham
2d5349b7b8 * src/Filters/Rules/Place/__init__.py: add HasPlace to editor_rule_list
svn: r7884
2007-01-08 21:46:32 +00:00
Don Allingham
610ee95aa9 * src/RelLib/_Name.py: default utf8 strings
* src/RelLib/_MarkerType.py: default utf8 strings
	* src/RelLib/_Place.py: default utf8 strings
	* src/RelLib/_GrampsType.py: default utf8 strings
	* src/Filters/SideBar/_EventSidebarFilter.py: default utf8 strings
	* src/Filters/SideBar/_FamilySidebarFilter.py: default utf8 strings
	* src/Filters/SideBar/_PersonSidebarFilter.py: default utf8 strings
	as a fallback. (bug #779), convert string to unicode if needed (bug #604)


svn: r7883
2007-01-08 21:40:51 +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
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
Alex Roitman
65c3d40a22 In .:
* src/Filters/Rules/Family/_RegExpFatherName.py: Add new module.
	* src/Filters/Rules/Family/_RegExpMotherName.py: Add new module.
	* src/Filters/Rules/Family/_RegExpChildName.py: Add new module.
	* src/Filters/SideBar/_FamilySidebarFilter.py (get_filter): Use
	regex filters.
	* src/Filters/Rules/Family/__init__.py: Expose new modules.
	* src/Filters/Rules/Family/Makefile.am: Ship new files.
In po:
2006-12-13  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: List new files.



svn: r7799
2006-12-14 07:04:53 +00:00
Martin Hawlisch
f2eb4451b6 * src/Filters/Rules/Person/_HasRelationship.py: Fix FamilyRelType comparison (closes #758)
svn: r7794
2006-12-13 09:21:53 +00:00
Alex Roitman
0f445d124a * src/Filters/SideBar/*SidebarFilter.py: Busy cursor when filtering.
svn: r7751
2006-12-03 00:23:59 +00:00
Alex Roitman
f14172ccdb * src/Filters/Rules/_RuleUtils.py (loose_date_cmp): Compare
textual dates.


svn: r7745
2006-12-01 17:01:09 +00:00
Alex Roitman
fd16b520a9 * src/Filters/Rules/_HasEventBase.py (apply): Do not match empty
places. 


svn: r7744
2006-12-01 16:45:42 +00:00
Alex Roitman
e386161912 * src/Filters/Rules/Repository/_HasRepo.py: Correct logic.
svn: r7737
2006-11-30 20:30:28 +00:00
Alex Roitman
e96bbdb75e In .:
2006-11-30  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/Rules/Makefile.am: Ship new file.
	* src/Filters/Rules/Family/Makefile.am: Ship new file.
	* src/Filters/Rules/Person/Makefile.am: Ship new file.

In po:
2006-11-30  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: List new files.



svn: r7736
2006-11-30 19:55:28 +00:00
Martin Hawlisch
48762ac54e * src/Filters/Rules/*: Add new Rule HasMarkerOf
* src/FilterEditor/_EditRule.py: Support MarkerType
* src/Filters/SideBar/_FamilySidebarFilter.py: Add MarkerType
* src/Filters/SideBar/_PersonSidebarFilter.py: Add MarkerType



svn: r7735
2006-11-30 15:52:26 +00:00
Alex Roitman
0045454892 2006-11-28 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Place/_HasPlace.py (apply_location): Add
	method; 
	(apply): Rework to correctly match location parameters.



svn: r7730
2006-11-29 06:09:17 +00:00
Martin Hawlisch
00f029a27b * src/Filters/Rules/Person/_HasCompleteRecord.py: Use new marker API
* src/RelLib/_Person.py (get_complete_flag): Remove old unused API
* src/RelLib/_Family.py (get/set_complete_flag): Remove old unused API



svn: r7720
2006-11-27 16:11:38 +00:00
Jérôme Rapinat
2677cc005d fix typo
svn: r7686
2006-11-24 23:14:25 +00:00
Martin Hawlisch
2237772913 * src/Filters/Rules/*/_MatchesFilter.py: Fix typo in description
svn: r7681
2006-11-24 19:04:06 +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
Alex Roitman
6630094f28 2006-11-09 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasDeath.py (apply): Match any of the
	death events.
	* src/Filters/Rules/Person/_HasBirth.py (apply): Match any of the
	birth events.



svn: r7603
2006-11-10 07:27:11 +00:00
Alex Roitman
f7b943fe26 * src/Makefile.am (docmodules): Update.
* src/Filters/Rules/Family/_MemberBase.py: Formatting fixes.
	* src/ReportBase/_ReportUtils.py: Formatting fixes.


svn: r7482
2006-10-29 05:49:50 +00:00
Alex Roitman
df1f3b7571 * src/Filters/Rules/Person/_RelationshipPathBetweenBookmarks.py
(name): Correct the string.


svn: r7454
2006-10-27 18:54:08 +00:00
Alex Roitman
59a00f52f8 * src/Filters/_FilterComboBox.py (set): Force unicode.
svn: r7398
2006-10-12 01:25:42 +00:00
Alex Roitman
f2d3c5b249 2006-08-28 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Address.py (get_text_data_list): Typo.
	* src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py (apply):
	Stop adding birth and death events.
	* configure.in: Increment version number.
	* RELEASE: version 2.1.95 is released.



svn: r7283
2006-08-28 17:56:42 +00:00
Alex Roitman
bf309faa34 2006-08-26 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/__init__.py (register): Add dictionary
	for private rules.
	* src/Filters/_FilterParser.py (startElement): Support parsing for
	private rules.



svn: r7272
2006-08-26 19:39:32 +00:00
Alex Roitman
f61ec52706 * src/Filters/Rules/Person/_IsDescendantFamilyOf.py: Rewrite.
svn: r7239
2006-08-22 18:52:37 +00:00
Alex Roitman
be73b68ca5 * src/Filters/_FilterParser.py (startElement): Upgrade existing
custom_filters file from Media to MediaObject.


svn: r7237
2006-08-22 17:50:56 +00:00
Alex Roitman
dd7b5af569 * src/Selectors/_SelectEvent.py (get_handle_column): Correct
handle column number.


svn: r7236
2006-08-22 17:02:15 +00:00
Alex Roitman
b6a68cd9ce * configure.in: Reflect directory change.
* src/Filters/Rules/MediaObject/Makefile.am: Reflect directory change.


svn: r7235
2006-08-22 16:54:40 +00:00
Alex Roitman
53ebf77ed7 In .:
* src/Filters/Rules/Makefile.am (SUBDIRS): Reflect directory change.
In po:
2006-08-22  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Reflect directory change.



svn: r7234
2006-08-22 16:52:20 +00:00
Alex Roitman
5c666600e8 * src/Filters/Rules/MediaObject: Added to replace Media.
* src/Filters/Rules/Media: Removed.
	* src/DataViews/_MediaView.py (filter_editor): Change Media to
	MediaObject.
	* src/Filters/_GenericFilter.py: Change Media to MediaObject.
	* src/DataViews/_PersonView.py (build_widget): Pass uistate
	to filter class.
	* src/PageView.py (ListView.build_filter_container): Pass uistate
	to filter class.
	* src/DisplayState.py (DisplayState.__signals__): Register
	'filters-changed' signal.
	* src/FilterEditor/_ShowResults.py: Change Media to MediaObject.
	* src/FilterEditor/_EditRule.py: Change Media to MediaObject.
	* src/FilterEditor/_FilterEditor.py (close): Emit 'filters-changed'.
	* src/Filters/SideBar/*py: Take uistate and connect to the
	'filters-changed' signal.


svn: r7233
2006-08-22 16:49:21 +00:00
Alex Roitman
1cb5f1fa9b * src/FilterEditor/_FilterEditor.py (close): Override parent's close.
* src/Filters/_FilterMenu.py (build_filter_menu,
	build_filter_model): Import Custom and System filters when needed.
	* src/plugins/Calendar.py (get_filters): Import Custom
	filters when needed.
	* src/plugins/GraphViz.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/IndivComplete.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/NarrativeWeb.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/StatisticsChart.py (get_report_filters): Import Custom
	filters when needed.
	* src/plugins/TimeLine.py (get_report_filters): Import Custom
	filters when needed.


svn: r7231
2006-08-22 05:28:55 +00:00