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
Brian Matherly
4b1c61a6e7
Make in-law relationships easier to translate for the Kinship Report.
...
svn: r14053
2010-01-13 04:31:42 +00:00
Doug Blank
3a8b4d7e40
Moved fallback functions from Db to gen.utils
...
svn: r13876
2009-12-21 05:58:55 +00:00
Brian Matherly
2ad02fa658
Remove unused function from KinshipReport.
...
svn: r13422
2009-10-26 02:11:51 +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
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
f6f1cdf05c
0002841: Kinship report converts relationship descriptions to lowercase
...
patch by Reinhard Müller <reinhard.mueller@bytewise.at>
svn: r12948
2009-08-10 19:09:37 +00:00
Benny Malengier
aa5aa031c0
fix ODF output put, prettify kinship html output
...
svn: r12657
2009-06-12 07:31:30 +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
Gerald Britton
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +00:00
Gary Burton
e94e59b958
Add fallback dates for birth and death
...
svn: r12430
2009-04-10 16:20:41 +00:00
Brian Matherly
853e54a624
Plugins Restructure: Move text reports into plugins/textreport.
...
svn: r11638
2009-01-16 23:10:34 +00:00