Commit Graph

32 Commits

Author SHA1 Message Date
Brian Matherly
df32be43de 0003796: Make export available when no GUI available. Patch from jmodule (Jakim Friant).
svn: r15294
2010-05-01 04:12:42 +00:00
Rob G. Healey
36a91b6cb9 Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
2010-02-25 15:52:32 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +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
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Doug Blank
f4ca61c117 Take advantage of refactored functionality in EventType and EventRoleType
svn: r13861
2009-12-20 22:21:00 +00:00
Jérôme Rapinat
15f9344340 3391: Some sentences missed the final dot
svn: r13674
2009-11-26 11:13:44 +00:00
Jérôme Rapinat
0757d0821c 3278: [Records plugin] Mariage calculation should only work with event_role=Family or primary
svn: r13456
2009-10-29 11:44:32 +00:00
Doug Blank
aa3c30803e Updated for new location of Gramplet
svn: r13418
2009-10-25 21:13:37 +00:00
Benny Malengier
d25cdc3958 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager


svn: r13405
2009-10-25 13:52:29 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Doug Blank
9cbb58af27 Code cleanup
svn: r13222
2009-09-18 23:05:06 +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
b601f4bdf2 Replace get_family_handles with iter_family_handles
svn: r12776
2009-07-08 16:11:20 +00:00
Gerald Britton
f7454de7fd Implement iter_people_handles methods and begin to use them
svn: r12760
2009-07-03 20:23:41 +00:00
Benny Malengier
fb3ec68c6a part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
update build system


svn: r12603
2009-05-31 14:59:56 +00:00
Benny Malengier
8dd7adc607 part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
that was missing in part 1 
 Still to come: makefiles and splitting new basedoc.py in small files


svn: r12591
2009-05-29 22:25:44 +00:00
Doug Blank
4704f01093 Cleanup separation between gui and non-gui; moved toolip to set_tooltip
svn: r11582
2009-01-07 22:49:58 +00:00
Doug Blank
d76e9a8363 Removed auto-updates except for when unminimize and db-change
svn: r11571
2009-01-05 02:30:28 +00:00
Doug Blank
2347aeeaeb Added yield statements to update screen more often
svn: r11564
2009-01-04 17:41:33 +00:00
Doug Blank
dad8af1cd4 Removed translation hacks and committed WhatsNext and Records to po files
svn: r11555
2008-12-31 22:01:03 +00:00
Doug Blank
529dba047a Fixed log.
svn: r11554
2008-12-31 16:48:27 +00:00
Doug Blank
9e74720152 Fixes in logic... in progress
svn: r11553
2008-12-31 16:28:16 +00:00
Doug Blank
f017a5020f Added probably_alive logic
svn: r11552
2008-12-31 15:58:53 +00:00
Doug Blank
71ab854115 Typo
svn: r11551
2008-12-31 15:45:25 +00:00
Doug Blank
5aa95a60ee Cleaned up code; added cause of death, cremation, and burial events to be evidence of death
svn: r11550
2008-12-31 15:38:49 +00:00
Doug Blank
36c291ba38 Use new family link; code was ready to fix--thanks
svn: r11547
2008-12-31 04:00:55 +00:00
Doug Blank
5560a4f62c Fix for using only birth relations, by Reinhard Müller
svn: r11537
2008-12-30 14:14:37 +00:00
Doug Blank
c96bf68ee2 Reverted to use regular dates (no partial or inexact), but with a setting to change to include any valid date
svn: r11531
2008-12-27 23:56:02 +00:00
Doug Blank
48f3051d25 Date diff Span now can display itself; changed is_regular to is_valid to use partial dates, too
svn: r11529
2008-12-27 21:33:39 +00:00
Doug Blank
e9bf31ef33 Versions of Reinhard Müller's WhatsNext and Records gramplets
svn: r11526
2008-12-27 20:57:43 +00:00