Commit Graph

84 Commits

Author SHA1 Message Date
Nick Hall
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00
Nick Hall
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
Nick Hall
2ec73c785c Fix bug in has_<class name>_handle methods
svn: r15954
2010-10-04 20:54:58 +00:00
Benny Malengier
5013162ded A new person editor
svn: r15951
2010-10-03 11:39:47 +00:00
Nick Hall
b733d9e306 Update database proxies to include tag objects
svn: r15950
2010-10-03 00:05:21 +00:00
Doug Blank
3989ef284f Follow StyledText links to include other objects, too
svn: r15520
2010-06-01 17:10:00 +00:00
Doug Blank
c5d11d3218 Added filter editor for person and note filters, and removed unneeded reference filters
svn: r15518
2010-05-31 14:50:34 +00:00
Doug Blank
41a4ff748d Protection from null objects
svn: r15504
2010-05-30 11:35:45 +00:00
Doug Blank
ba2d5d503d Protection from null family
svn: r15501
2010-05-30 04:03:05 +00:00
Doug Blank
34c7efe804 New proxy that traces forward references
svn: r15499
2010-05-29 20:17:06 +00:00
Doug Blank
8a25a77c9f Removed .get_base_db() method as there was already basedb for the same purpose
svn: r15484
2010-05-25 23:29:37 +00:00
Gerald Britton
2604ee39fa Use itertools ifilter and imap to simplify some operations
svn: r15480
2010-05-25 18:31:31 +00:00
Doug Blank
a69337b6c6 method for getting base database, if a proxy
svn: r15465
2010-05-23 15:44:51 +00:00
Doug Blank
ed3c144a79 Apparently we don't need these two methods (see Gerald in mailing list, 05/23/2010)
svn: r15461
2010-05-23 15:36:15 +00:00
Doug Blank
cdeb47ad3b Proxies should report that they are read-only
svn: r15457
2010-05-23 14:55:20 +00:00
Doug Blank
8ca80428a5 added methods that protect living data from leaking out: get_person_handles, iter_person_handles, and iter_people
svn: r15453
2010-05-23 05:10:11 +00:00
Doug Blank
1e3b765bd4 iter_people method was incorrectly returning handles and people objects; should be just people to match gen.db interface
svn: r15451
2010-05-23 04:40:58 +00:00
Doug Blank
cda97348e8 3878: Private option and filter on Exporter
svn: r15383
2010-05-10 00:00:15 +00:00
Doug Blank
2f603d2592 Fixing issues with get_privacy on non-existent objects which were probably filted out by a living proxy
svn: r15354
2010-05-07 23:45:54 +00:00
Jérôme Rapinat
e2e3065cfb merge fix on branch rev15295
svn: r15327
2010-05-05 11:47:18 +00:00
Doug Blank
40f88a9e7d 3851: NarWeb Associations don't show unless Include Private is checked
svn: r15192
2010-04-17 20:07:52 +00:00
Gerald Britton
1f2469b09f Simplify with built-in functions where possible. e.g.
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)

These changes reduce source code size and complexity and produce some minor performance gains

svn: r14104
2010-01-21 18:42:53 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Gerald Britton
afe85ad0d5 Tweaks and simplifications
svn: r14001
2010-01-08 21:47:02 +00:00
Gerald Britton
6726952bcc tweaks to reduce source and object code and run-time lookups
svn: r13981
2010-01-06 17:53:17 +00:00
Gerald Britton
57ac58b67e Bug 3499: Referenced proxy not filtering out unreferenced sources
svn: r13974
2010-01-05 16:56:56 +00:00
Doug Blank
ab3dfe1415 3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
svn: r13894
2009-12-23 15:55:58 +00:00
Doug Blank
172988ff36 Apparently gen.proxy.dbbase and gen.db.dbdir are not needed anymore; edited support files too
svn: r13888
2009-12-22 22:53:25 +00:00
Brian Matherly
814d721f68 Remove QuestionDialog dependency from gen. The database now raises exceptions and the GUI generates the question dialog.
svn: r13865
2009-12-20 22:44:32 +00:00
Gerald Britton
288a20f62d Small simplifications
svn: r13676
2009-11-26 19:53:52 +00:00
Benny Malengier
5b1038a2a9 3269: Export privacy switch toggles inclusion of source page data
svn: r13639
2009-11-19 20:49:52 +00:00
Benny Malengier
1846c513cf 2799: in GEDCOM export, changed timestamp for every single record is 31 DEC 1969
svn: r13630
2009-11-18 22:45:54 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Gerald Britton
eb8ef2152b Remove pdb module from filter.py
svn: r13208
2009-09-15 16:05:28 +00:00
Gerald Britton
d5e48cda06 Change to set logic for reduction in storage (no affect on runtime)
svn: r13190
2009-09-10 18:49:13 +00:00
Gerald Britton
06458ae1d7 Remove unused methods
svn: r13159
2009-09-04 17:57:00 +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
Gerald Britton
03ee012325 Implement performance-enhanced proxy databases
svn: r13140
2009-08-31 18:43:05 +00:00
Raphael Ackermann
30d6eebd0b 0002542: Crash whilst generating web pages from command line
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.

svn: r13004
2009-08-14 07:14:25 +00:00
Raphael Ackermann
55730240f5 add missing import
svn: r13002
2009-08-14 07:07:55 +00:00
Raphael Ackermann
7bb8efc479 0003102: Can't run Narrative Website report
Added checks for NoneType Objects.
pep8 fixes 


svn: r12939
2009-08-09 22:46:55 +00:00
Raphael Ackermann
b33a53e487 fixed typos
svn: r12937
2009-08-09 22:43:43 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Doug Blank
8a7296920f Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
svn: r12847
2009-07-29 03:28:05 +00:00
Gerald Britton
d45f5970fb add missing iterator methods to filter.py, use get_family_handles instead of the iterator in ExportGedcom.py
svn: r12790
2009-07-11 20:11:37 +00:00
Gary Burton
1460750b24 Add missing source_predicate method and doc strings
svn: r12787
2009-07-11 15:35:36 +00:00
Gerald Britton
b221f428bf proxybase tweak to default predicate to None
svn: r12784
2009-07-11 04:02:28 +00:00
Gerald Britton
56c79b6fa4 Proxy databases:
1. Provide default methods in proxybase.py for get_<object>_handles and iter_<object>_handles
2. Implement callouts in iter_<object>_handles to determine if handles should be included or not
3. Added new methods to dbbase.py raising NotImplementedError for the new iter_<object>_handles methods
4. Implemented new methods in living.py, private.py and referenced.py
5. Changed filter.py to use iter_person_handles instead of get_person_handles
6. Removed duplicate methods from children of ProxyDbBase


svn: r12783
2009-07-10 19:24:43 +00:00
Gerald Britton
181c0c9b41 Replace get_place_handles with iter_place_handles
svn: r12778
2009-07-08 18:11:02 +00:00