Commit Graph

49 Commits

Author SHA1 Message Date
Nick Hall
da75a38762 5326: Revert r18842
svn: r18848
2012-02-10 19:57:57 +00:00
Nick Hall
3767c1d1e4 5326: Add Alphabetical Index and Table of Contents generation for pdf reports
svn: r18842
2012-02-10 14:53:58 +00:00
Paul Franklin
1ee2a4ec30 revert 18559 and 18560
svn: r18578
2011-12-11 19:09:19 +00:00
Paul Franklin
82eaf45b20 enhance error message
svn: r18560
2011-12-09 19:31:07 +00:00
Paul Franklin
b620bf6115 enhance error message
svn: r18559
2011-12-09 17:11:59 +00:00
Doug Blank
6ba569fa68 Load all general plugins of a category
svn: r16182
2010-11-11 20:12:33 +00:00
Doug Blank
7c110d15b8 Added plugin.depends_on = ['plugin_id', ...] for plugin.load_on_reg plugins
svn: r15816
2010-08-25 13:30:59 +00:00
Doug Blank
1f9eee3d92 Don't load a GENERAL lib if hidden
svn: r15813
2010-08-25 02:45:23 +00:00
Doug Blank
00f738f953 Don't evaluate callable data returned from the plugin API
svn: r15790
2010-08-22 01:00:16 +00:00
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
Doug Blank
f55cd42926 Allow GENERAL plugins to have category, and more flexibility
svn: r15699
2010-08-10 13:14:09 +00:00
Doug Blank
0f310e78a4 Show errors on invalid plugin load
svn: r15653
2010-07-28 15:03:37 +00:00
Doug Blank
4ce41d4656 3986: Interface for running code not associated with a plugin type: this passes dbstate and uistate to a load_on_reg function/class if a library has it, and it is marked as load_on_reg
svn: r15454
2010-05-23 11:44:13 +00:00
Doug Blank
d2d983f10a Try to reload first; if fails, then not in path (addon), and try new import
svn: r15403
2010-05-13 13:02:52 +00:00
Doug Blank
6db2110937 Forces the unloading of loaded plugins to load new versions
svn: r15350
2010-05-07 19:46:07 +00:00
Doug Blank
12918718f9 3879: Allow multiple versions of a plugin
svn: r15299
2010-05-01 21:30:15 +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
c17d595d70 3715: Plugin manager load/reload does not unload earlier versions of plugins
svn: r14914
2010-03-23 13:27:18 +00:00
Benny Malengier
aad74b8bb8 3690: Do not need to use underscore on text for file formats (import/export)
svn: r14889
2010-03-21 10:33:08 +00:00
Doug Blank
b23abf392b Changed variable name to avoid conflict with reload function
svn: r14863
2010-03-18 23:56:10 +00:00
Benny Malengier
306671f9af 3715: Plugin manager load/reload does not unload earlier versions of plugins
svn: r14861
2010-03-18 22:27:45 +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
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
b66e96b8d9 Plugin Manager refinements, part 1: refactored plugin lists, renamed Plugin Status to Plugin Manager, added functionality on loaded plugin page
svn: r14086
2010-01-17 16:24:56 +00:00
Doug Blank
eb23cfd76f 3467: Exporter returns an error, but it exports fine if we try once more during session
svn: r13892
2009-12-23 11:42:05 +00:00
Doug Blank
9f74bdacce Was adding .svn and subdirectories; this should properly limit subdirs
svn: r13832
2009-12-17 04:02:04 +00:00
Doug Blank
b876023812 3413: Hidden export plugins still show in list; and rewrote eval() as getattr()
svn: r13708
2009-12-05 06:35:21 +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
Doug Blank
e80f108688 Removed walking of links
svn: r13509
2009-11-06 15:14:38 +00:00
Doug Blank
e83e5effc5 Skip hidden directories, and the po and locale system dirs of gramps-addons
svn: r13485
2009-11-03 01:56:27 +00:00
Doug Blank
d23721d35f Allow plugin manager to follow links (so you can add a link in plugins to a development dir)
svn: r13479
2009-11-01 15:45:53 +00:00
Brian Matherly
fa10edbfd1 Skip hidden directories when registering plugins.
svn: r13429
2009-10-27 01:44:46 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Benny Malengier
14dcf94739 3292 register plugins, load on need, not on start of GRAMPS - GEPS 014\nmove grampletview to guipluginmanager
svn: r13409
2009-10-25 15:33:50 +00:00
Doug Blank
975e639dd1 Phase 1 conversion of gramplets to new plugin system
svn: r13406
2009-10-25 14:42:47 +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
79b6708163 03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Part 2: update plugin status: show registered, allow hide/unhide of 
        plugins


svn: r13403
2009-10-24 20:27: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
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +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
Doug Blank
ef066a3b6a Feature #2393: Allow the use of user-defined (mega)-widgets by MD Nauta; added register_option()
svn: r11861
2009-02-05 02:23:46 +00:00
Benny Malengier
829d78b611 New mapservice plugin structure, as a general solution to #2659
*    configure.in
 *    src/DataViews/PlaceView.py
 *    src/Config/_GrampsConfigKeys.py
 *    src/gen/plug/_manager.py
 *    src/plugins/mapservices
 *    src/plugins/mapservices/googlemap.py
 *    src/plugins/mapservices/openstreetmap.py
 *    src/plugins/lib/Makefile.am
 *    src/plugins/lib/libmapservice.py
 *    src/plugins/Makefile.am
 *    src/widgets/menutoolbuttonaction.py
 *    src/widgets/Makefile.am
 *    src/PageView.py
 *    po/POTFILES.in


svn: r11811
2009-02-02 21:55:22 +00:00
Brian Matherly
497e8d8233 Add support for plugin "libraries" that do not specifically tie into the plugin system and can be imported by other plugins.
svn: r11758
2009-01-30 02:16:00 +00:00
Brian Matherly
a6fa59cc35 Add support for subdirectories in the plugins directory.
svn: r11631
2009-01-16 16:21:54 +00:00
Doug Blank
2a8b08675b Reset import and export lists (others may need to be reset, too)
svn: r11361
2008-11-29 16:27:08 +00:00
Brian Matherly
2e9a488e3e Refactor export plugin framework. All importers and exporters are now plugins.
svn: r11243
2008-11-04 04:12:51 +00:00
Brian Matherly
8e8f37d5d3 Create a new plugin class for Import plugins.
svn: r11142
2008-10-14 02:34:28 +00:00
Brian Matherly
9c364490ce Move PluginUtils/_PluginMgr.py to gen/plug/_manager.py. Now, instead of "from PluginUtils import PluginManager", use "from gen.plug import PluginManager".
svn: r11100
2008-10-02 04:02:10 +00:00