Commit Graph

33 Commits

Author SHA1 Message Date
c833073ba6 GEPS023: merge branch (changes 17960-18546) into trunk
svn: r18548
2011-12-04 17:09:17 +00:00
61e6a0a1c0 Update src/gen/proxy/* for citations
svn: r18485
2011-11-22 14:59:18 +00:00
5084294a1e Various fixes for GEP21 and locality
* narweb and webcal works again
* proxy filters work
* locality upgrade in repository
* fix progress on upgrade



svn: r16074
2010-10-28 19:56:46 +00:00
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
b733d9e306 Update database proxies to include tag objects
svn: r15950
2010-10-03 00:05:21 +00:00
ba2d5d503d Protection from null family
svn: r15501
2010-05-30 04:03:05 +00:00
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
40f88a9e7d 3851: NarWeb Associations don't show unless Include Private is checked
svn: r15192
2010-04-17 20:07:52 +00:00
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
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
afe85ad0d5 Tweaks and simplifications
svn: r14001
2010-01-08 21:47:02 +00:00
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
5b1038a2a9 3269: Export privacy switch toggles inclusion of source page data
svn: r13639
2009-11-19 20:49:52 +00:00
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
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
03ee012325 Implement performance-enhanced proxy databases
svn: r13140
2009-08-31 18:43:05 +00:00
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
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
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
181c0c9b41 Replace get_place_handles with iter_place_handles
svn: r12778
2009-07-08 18:11:02 +00:00
b601f4bdf2 Replace get_family_handles with iter_family_handles
svn: r12776
2009-07-08 16:11:20 +00:00
f7454de7fd Implement iter_people_handles methods and begin to use them
svn: r12760
2009-07-03 20:23:41 +00:00
068b3157f0 2995: Unable to produce Narrated Web Site using filter and privacy settings
svn: r12551
2009-05-20 10:18:20 +00:00
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
b2f0e1e537 New database proxy which passes through objects which are referenced by at least one another object.
svn: r10845
2008-07-07 19:25:18 +00:00
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
534a306579 2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/GrampletView.py
	* src/ReportBase/_ReportUtils.py
	* src/gen/proxy/private.py
	* src/plugins/WebCal.py
	* src/plugins/CmdRef.py
	* src/Models/_ListCursor.py
	* src/Models/_PathCursor.py
	PEP 8 fixes. Change 
	if var == True --> if var 
	if var is True --> if var
	if var == False --> if not var
	if var == None --> if var is None

svn: r9994
2008-02-05 00:31:57 +00:00
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
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
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
25ac68f14a svn: r9067 2007-10-03 17:23:27 +00:00