Commit Graph

21 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
Gerald Britton
90a172393d fix little bug checking for wrong condition
svn: r14158
2010-01-28 19:35:51 +00:00
Gerald Britton
07decce138 Tweaks
svn: r14143
2010-01-26 14:21:51 +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
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
Jérôme Rapinat
15f9344340 3391: Some sentences missed the final dot
svn: r13674
2009-11-26 11:13:44 +00:00
Brian Matherly
c43c3beba0 Clean up ReportUtils: Move text strings into "Narrator" class in libnarrate. Remove unused functions. Move functions out that are only used once.
svn: r13474
2009-10-31 21:36:57 +00:00
Benny Malengier
cad5461b2d 3282: Gramps should only display marriage event with role = family (or primary)
svn: r13411
2009-10-25 16:52:45 +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
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +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
Gerald Britton
40d0605a63 fix bug in r12705
svn: r12759
2009-07-03 15:53:28 +00:00
Gerald Britton
fdfacd972c Minor tweaks to use slices instead of lists of items
svn: r12705
2009-06-25 13:41:16 +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
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
81a0848490 Bug 3018: remove calls to keys() and values() dictionary method where possible
svn: r12579
2009-05-27 17:33:45 +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
Brian Matherly
96f9411caa Move all draw reports into plugins/drawreport.
svn: r11634
2009-01-16 21:10:36 +00:00