Commit Graph

17 Commits

Author SHA1 Message Date
Raphael Ackermann
e740d374a9 doc typos
svn: r15026
2010-04-04 11:58:34 +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
Peter Landgren
418618d856 Better output of pre- and unformatted notes and of end notes references.
svn: r14098
2010-01-19 12:47:48 +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
Peter Landgren
27dd026a97 Fix of issue 2848.
svn: r14064
2010-01-13 18:40:55 +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
Rob G. Healey
ae28b8538b Fixed Utils.open_file_with_default_application() to gui.utils instead of Utils now. Works again.
svn: r12699
2009-06-23 20:49:18 +00:00
Benny Malengier
a177da80b0 2707: Add markup notes to html output
Part 2: enable css, clean up code.
      TODO: better output, support in default css files, test


svn: r12644
2009-06-08 23:19:37 +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
c56c25b932 Add DocGenPlugin to be used to register all docgen plugins. This replaces the array of variables which was more difficult to read.
svn: r12359
2009-03-19 02:24:29 +00:00
Brian Matherly
0214b842cd Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
svn: r12351
2009-03-16 04:22:12 +00:00
Gary Burton
64faf2567e Bug #2768: .rtf report disrespects DDR-FirstEntry style
svn: r12217
2009-03-04 22:41:45 +00:00
Benny Malengier
cfadb3fafc issue 2688: some wrong bindings and <super> not working yet. All should work now
svn: r11957
2009-02-10 23:07:35 +00:00
Brian Matherly
3259b393da Change the way we "launch" files using their default application. Instead of trying to find the application ourselves, use the OS built in functions to open a file with its default application. We no longer show the name of the application that we will open the file with because we don't know.
svn: r11781
2009-02-01 04:21:17 +00:00
Brian Matherly
3f95d8ddb7 Plugins Restructure: Move docgen plugins into plugins/docgen.
svn: r11652
2009-01-18 04:59:14 +00:00