Commit Graph

8 Commits

Author SHA1 Message Date
Doug Blank
0199cd7da5 Enhanced GENERAL plugins for flexible API: added data and process to GENERAL plugindata, more details at http://www.gramps-project.org/wiki/index.php?title=Addons_development#General_Plugins
svn: r15701
2010-08-11 05:42:46 +00:00
Nick Hall
6ae2f1c81e GEPS 019: Improved sidebar which allows sidebar plugins
svn: r15029
2010-04-04 18:16:03 +00:00
Benny Malengier
1a5f1720c0 Allow plugins to register their icons, new icons for geoview
svn: r14289
2010-02-09 00:07:43 +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
Gerald Britton
1f2469b09f Simplify with built-in functions where possible. e.g.
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)

These changes reduce source code size and complexity and produce some minor performance gains

svn: r14104
2010-01-21 18:42:53 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Benny Malengier
19522ec975 GEPS 014: Plugin registration and management
Also views are now plugins belonging to view category


svn: r13528
2009-11-08 16:41:49 +00:00
Benny Malengier
ebc34c4a71 add missing pluginmanager
svn: r13414
2009-10-25 18:43:01 +00:00