Commit Graph

91 Commits

Author SHA1 Message Date
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
30dd07d44e $Id: $ update
svn: r9913
2008-01-22 10:12:57 +00:00
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Raphael Ackermann
493c790703 2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/gen/db/dbdir.py
    * src/plugins/ChangeNames.py
    * src/DisplayModels/_NoteModel.py
    * src/GrampsDbUtils/_GrampsBSDDB.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/_NoteSidebarFilter.py
    * src/Filters/SideBar/_RepoSidebarFilter.py
    * src/Filters/SideBar/_PersonSidebarFilter.py
    * src/Filters/Rules/Family/_HasNoteRegexp.py
    * src/Filters/Rules/Event/_MatchesSourceFilter.py
    * src/Filters/Rules/Event/_HasNoteRegexp.py
    * src/Filters/Rules/Event/_MatchesPersonFilter.py
    * src/Filters/Rules/_HasTextMatchingRegexpOf.py
    * src/Filters/Rules/Place/_MatchesEventFilter.py
    * src/Filters/Rules/Person/_HasTextMatchingRegexpOf.py
    * src/Filters/Rules/Person/_MatchesEventFilter.py
    Pylint fixes.

svn: r9885
2008-01-18 15:51:15 +00:00
Brian Matherly
07e1529f27 Refactoring the report system. Decouple MenuOptions from the code that displays them. (Book Report is broken and needs to be fixed.)
svn: r9875
2008-01-18 05:39:50 +00:00
Brian Matherly
bf3900f043 Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
2008-01-05 20:10:26 +00:00
Doug Blank
9ee75010b6 2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Utils.py: probably_alive now takes date rather than year
	* src/gen/proxy/living.py: create date from year
	* src/gen/lib/date.py: added methods to do date math
	  and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
	* src/plugins/Calendar.py: updated to use probably alive date
	* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date



svn: r9379
2007-11-21 14:49:50 +00:00
Benny Malengier
5495c3f705 * src/Filters/Rules/Event/_MatchesSourceFilter.py: new filter
* src/Filters/Rules/Event/__init__.py: load new filter
	* src/Filters/Rules/Event/Makefile.am: distribute
	* src/Filters/Rules/Person/_MatchesEventFilter.py: new filter
	* src/Filters/Rules/Person/__init__.py: load new filter
	* src/Filters/Rules/Person/Makefile.am: distribute
	* po/POTFILES.in: translate new filters
	This is issue #1249

2007-10-12 Benny Malengier <benny.malengier@gramps-project.org> 


svn: r9160
2007-10-12 11:26:28 +00:00
Benny Malengier
95bd750cdb 2007-10-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/Filters/_FilterParser.py: avoid unknown filters crashing
	* src/Filters/Rules/Person/__init__.py: remove private filter list and register, not used.


svn: r9154
2007-10-11 23:05:30 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Benny Malengier
f97b98c2cb * src/Config/_GrampsConfigKeys.py: add config keys for fuzzy date match
* src/RelLib/_CalSdn.py: correct type in comment
	* src/RelLib/_Date.py: add new match function to match two dates with 
	fuzzy date support (about 2000 matches about 2005).
	* src/Filters/Rules/_HasEventBase.py: use new match
	* src/Filters/Rules/MediaObject/_HasMedia.py: use new match
	* src/Filters/Rules/Person/_HasBirth.py: use new match
	* src/Filters/Rules/Person/_HasDeath.py: use new match
	* src/Filters/Rules/Person/_HasFamilyEvent.py: use new match
	* src/Filters/Rules/_RuleUtils.py: delete, contained old match date routines
	* src/Filters/Rules/Makefile.am: remove RuleUtils
	* po/POTFILES.in: remove RuleUtils
	Based on patch of Douglas S. Blank <dblank@cs.brynmawr.edu>, ticket #1219



svn: r8995
2007-09-20 19:59:46 +00:00
Stéphane Charette
adf6bf9cd8 move some filter code from ::apply() into ::prepare() to ensure it executes only once
svn: r8901
2007-08-31 08:19:14 +00:00
Stéphane Charette
40e940d84a new reference count filters
svn: r8892
2007-08-30 08:04:28 +00:00
Benny Malengier
dbbf63cbe4 Two new filters
svn: r8868
2007-08-25 19:29:26 +00:00
Brian Matherly
7d93f8839b Multiple enhancements to the marker report.
svn: r8784
2007-07-28 22:40:55 +00:00
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
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
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
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
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
2d5349b7b8 * src/Filters/Rules/Place/__init__.py: add HasPlace to editor_rule_list
svn: r7884
2007-01-08 21:46:32 +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
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
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
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