Commit Graph

225 Commits

Author SHA1 Message Date
Gerald Britton
4b77831f0f Exploit new iter_<objects> methods
svn: r13209
2009-09-15 19:37:23 +00:00
Gerald Britton
966d2bcd42 Use new iter_objects methods
svn: r13203
2009-09-14 20:50:25 +00:00
Gerald Britton
3564b04584 1. Implement iter_<object> methods in proxybase.
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples

svn: r13151
2009-09-02 20:10:45 +00:00
Peter Landgren
370efe7566 Issue 3188 search for ü did not work.
svn: r13124
2009-08-27 19:45:04 +00:00
Jérôme Rapinat
567721323d 2548: deprecated system_filter.xml
svn: r13087
2009-08-20 12:27:29 +00:00
Benny Malengier
a111d627eb 03172: Error editing event filter
svn: r13066
2009-08-18 20:18:10 +00:00
Raphael Ackermann
9aeeb8432c 0002723: '<name>' has different meanings in different contexts
svn: r13019
2009-08-15 09:44:49 +00:00
Raphael Ackermann
874d43f2aa 0002070: Event Comparison Tool filter list doesn't update with new filter
remove old unused libglade menu in _FilterMenu

svn: r12855
2009-08-01 16:09:17 +00:00
Gerald Britton
7be4c7a2bf Add ability to use Rule in a boolean operation: "if Rule()" will be equivalent to "if Rule.apply()"
svn: r12845
2009-07-28 18:18:56 +00:00
Gerald Britton
0ae751e916 remove sort_handles=False parameters from iter_person_handles calls
svn: r12800
2009-07-15 14:48:11 +00:00
Gerald Britton
f680992d04 Tweaks
svn: r12775
2009-07-08 16:10:13 +00:00
Gerald Britton
2769b58a44 Implement iter_people_handles methods and begin to use them - second batch of updates
svn: r12774
2009-07-07 18:58:47 +00:00
Jérôme Rapinat
7a235029d8 typo
svn: r12773
2009-07-07 09:44:19 +00:00
Benny Malengier
2b49568b1f 3073: Add/edit personfilter is VERY slow in one database
svn: r12749
2009-07-01 10:59:24 +00:00
Benny Malengier
f07a12766a Further optimization in the flatbasemodel:
* keep list of all possible keys in memory so database is no longer touched 
     for the searches. ==> a search is faster
   * bug fixes to previous patch set: show total and displayed number correctly


svn: r12726
2009-06-29 13:37:15 +00:00
Jérôme Rapinat
83dfb87696 2831: missing filter rule on Event object matching source reference
svn: r12706
2009-06-25 17:20:29 +00:00
Benny Malengier
9d417e2cd6 Split Utils in a non GUI and GUI part
move GrampsCfg utils to Utils
improve import strategy


svn: r12680
2009-06-19 15:23:58 +00:00
Gerald Britton
70a0c50fca Use GrampsCursor as a context manager using "with" statement
svn: r12672
2009-06-16 15:49:17 +00:00
Benny Malengier
f4e0a45fad code optimization of eventbase filters
svn: r12668
2009-06-15 19:06:25 +00:00
Gerald Britton
5eb7e18dc6 Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
fc90d5fce2 Bug 3018: remove calls to keys() dictionary method where possible
svn: r12562
2009-05-22 18:43:40 +00:00
Gerald Britton
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Gerald Britton
29ff457d25 Bug 2888: Export plugins - convert from libglade to gtkbuilder
svn: r12456
2009-04-16 19:29:40 +00:00
Joan Creus
8d7518c994 Improving help messages
svn: r12277
2009-03-09 18:35:16 +00:00
Joan Creus
7eb2b83812 Fixing typos
svn: r12275
2009-03-09 18:28:34 +00:00
Jérôme Rapinat
36fcdac888 mistake on names and descriptions (after date)
svn: r12095
2009-02-23 18:21:56 +00:00
Stéphane Charette
049ea61b10 merge of typo fixes from 3.1 branch
svn: r12072
2009-02-22 11:07:51 +00:00
Jérôme Rapinat
2d84cf5d7d #2700 #2490 do not translate argument on custom_filter.xml
svn: r11980
2009-02-13 15:13:53 +00:00
Jérôme Rapinat
91b2861fc9 #2700 #2490 do not translate argument on custom_filter.xml
svn: r11975
2009-02-12 18:40:00 +00:00
Jérôme Rapinat
41515d57cf #2700 #2490 do not translate argument on custom_filter.xml (Benny)
svn: r11964
2009-02-11 14:02:13 +00:00
Raphael Ackermann
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
Jérôme Rapinat
a767ec9a4a 2490: Migration : register new arg values on custom_filter.xml
svn: r11910
2009-02-08 08:36:21 +00:00
Benny Malengier
0b59dad73b #2490 : Migration : register new arg values on custom_filter.xml
svn: r11857
2009-02-04 21:37:15 +00:00
Peter Landgren
97b74f80d2 Reference to NoDeatsate removed.
svn: r11669
2009-01-19 21:17:35 +00:00
Peter Landgren
978d7a6615 Reference to NoDeatsate removed.
svn: r11668
2009-01-19 21:17:06 +00:00
Peter Landgren
a73b2da699 Swedish calendar added.
svn: r11665
2009-01-19 20:09:19 +00:00
Doug Blank
c1ef989533 Bug #2567: Person Filter bug: 'people without a known birth date' doesn't work correctly
svn: r11619
2009-01-13 22:25:05 +00:00
Doug Blank
d8f05e65d4 Contribution by MD Nauta, Feature Request #2603, Adds ChangedSince filter for all records. Tweaked time match a little, and text
svn: r11605
2009-01-10 18:41:16 +00:00
Kees Bakker
679392ab4b Add an option progress meter argument to GenericFilter.apply
If present it must be an instance of Utils.ProgressMeter.
        * src/Filters/_GenericFilter.py
        * src/plugins/WebCal.py
        * src/plugins/NarrativeWeb.py


svn: r11481
2008-12-15 21:42:58 +00:00
Kees Bakker
a2ea6b1e51 Speed improvement for the "has common ancestor" filter rule. For a
database with 2300 persons the time to filter goes from 500 seconds
to 80. I believe that the difference must be even bigger for larger
database. The new algorithm is more or less linear. Each person is
only visited once to compute the ancestors, and it does depth first.
	* src/Filters/Rules/Person/_HasCommonAncestorWith.py


svn: r11451
2008-12-11 10:06:16 +00:00
Peter Landgren
48bc0362e8 Fix of issue 2515.
svn: r11343
2008-11-24 18:48:51 +00:00
Jérôme Rapinat
ef14f6bf65 2502: Filter in person View does not work.
svn: r11304
2008-11-15 10:30:26 +00:00
Jérôme Rapinat
b4e5ce5e32 2465: More rules according to User Interface Object tabs - use the same logic as HasObject
svn: r11262
2008-11-06 08:43:47 +00:00
Jérôme Rapinat
245f04d4e9 HasNoteMatchingSubstringOf was loaded but not present on editor_rule_list
svn: r11261
2008-11-06 08:39:03 +00:00
Benny Malengier
7e2c35067d #2465 correct type, default to > 0
svn: r11259
2008-11-05 19:08:09 +00:00
Jérôme Rapinat
19c21312d4 2465: More rules according to User Interface Object tabs - use <count> on name
svn: r11256
2008-11-05 16:53:00 +00:00
Benny Malengier
7adff92c9c #2465 clean up hasgallery rule, extend haslds rule
svn: r11253
2008-11-05 12:44:15 +00:00
Benny Malengier
642392bbf3 #2465 default to equal to, and cleanup hasnote
svn: r11252
2008-11-05 12:36:02 +00:00
Jérôme Rapinat
0caef9a59b 2465: More rules according to User Interface Object tabs
svn: r11251
2008-11-05 11:41:44 +00:00
Jérôme Rapinat
985afe6e99 2465: More rules according to User Interface Object tabs
svn: r11250
2008-11-05 11:33:58 +00:00