18 Commits

Author SHA1 Message Date
Brian Matherly
0b8ea1202d Implement new "User()" class for reports to indicate progress and prompt the user. This allows the removal of from "gui.utils import ProgressMeter" from reports so that they don't depend on gui.
svn: r18378
2011-10-29 05:02:33 +00:00
Brian Matherly
b0b919d148 Patch from Paul Franklin - Partial work for: 0004646: reports cannot be run from the command line in a non-GUI environment
svn: r18047
2011-08-19 01:57:43 +00:00
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
Craig J. Anderson
bf09340cb7 (1)Removed dependancy on (not needed) dependancy SubstKeywords. (2)Code cleanup. (3)better use of def get_info.
svn: r14637
2010-03-05 21:36:59 +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
Jérôme Rapinat
f56402cf37 3473: To dynamicaly change calendar option on the Gramps session
svn: r14008
2010-01-09 17:51:58 +00:00
Jérôme Rapinat
bf944b0de3 2385: drawreports and multiple calendars
svn: r13925
2009-12-27 11:09:58 +00:00
Jérôme Rapinat
b02a7cb4c6 2385: Fan chart and multiple calendars
svn: r13783
2009-12-13 14:22:57 +00:00
Jérôme Rapinat
9a23a34ff1 #2385: Fan chart and multiple calendars (only for years on french calendar; < 15)
svn: r13744
2009-12-09 08:37:08 +00:00
Brian Matherly
6392a15610 Add draw_wedge function that was removed from ReportUtils.py.
svn: r13735
2009-12-06 22:42:12 +00:00
Jérôme Rapinat
927ac824b9 #2385: Fan chart and multiple calendars (like TimeLine.py)
svn: r13725
2009-12-06 09:38:10 +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
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
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
Brian Matherly
96f9411caa Move all draw reports into plugins/drawreport.
svn: r11634
2009-01-16 21:10:36 +00:00