Commit Graph

192 Commits

Author SHA1 Message Date
Doug Blank
6cf43dd3d8 Track options
svn: r14353
2010-02-13 16:22:35 +00:00
Doug Blank
b1354d2009 Regenerate gui options because previous configdialog may have deleted them; draw a frame around options that need 'save'.
svn: r14349
2010-02-13 06:37:50 +00:00
Doug Blank
06bc6a8a8f Every plugin needs a gramps_target_version for 3.2+
svn: r14341
2010-02-12 20:23:05 +00:00
Doug Blank
f342323d6a Fixed 2-point versions; did allow any 2-point less that gramps to load-- now must match 1-point parts (3.2)
svn: r14318
2010-02-11 13:45:51 +00:00
Doug Blank
49823df7fe Allow 2-point versions <= gramps version; added ERROR to print statements
svn: r14315
2010-02-11 13:26:28 +00:00
Doug Blank
d7c2e39492 Still need to build the non-gui options
svn: r14308
2010-02-10 23:25:08 +00:00
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Doug Blank
ea627392e8 Don't build options
svn: r14295
2010-02-09 13:15:31 +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
Doug Blank
81bb97e2df Refinements on statusbar update; only updated when really necessary; fixed bug in updating when db is closed
svn: r14141
2010-01-26 13:38:05 +00:00
Doug Blank
e7c5d7a207 Start out dirty and not active; removed debugging stuff
svn: r14140
2010-01-26 13:04:01 +00:00
Doug Blank
cf4748ecaf Gramplets only update when active, detached, or forced
svn: r14138
2010-01-26 12:00:01 +00:00
Doug Blank
1cfeea3701 Renamed for_gramps to gramps_target_version
svn: r14136
2010-01-25 23:56:45 +00:00
Peter Landgren
00e7bf53d7 Added missed file.
svn: r14127
2010-01-25 08:31:24 +00:00
Doug Blank
6fd1c70dfd Added a make_environment function for evaluating gpr.py envs
svn: r14122
2010-01-25 03:18:34 +00:00
Doug Blank
62a2d1672c Support for plugin.for_gramps = '3.2' in registry
svn: r14121
2010-01-24 23:36:25 +00:00
Doug Blank
1830a44505 Had to allow links now that plugins is a dir inside gramps32 to allow flexibility in addons
svn: r14115
2010-01-24 15:24:36 +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
Peter Landgren
5d1ac53678 Fix of issue 2848.
svn: r14063
2010-01-13 18:39:40 +00:00
Doug Blank
f415159d6f Revised iterable table interface; removed DbEngine and DbTable
svn: r14048
2010-01-12 18:38:39 +00:00
Doug Blank
bdefba55ca Towards an DbEngine, for a variety of reasons
svn: r14035
2010-01-11 19:45:17 +00:00
Doug Blank
8fdfd69951 Added get_active_object
svn: r14029
2010-01-11 13:50:32 +00:00
Nick Hall
b503fa2e25 Extend history functionality (back/forward) and active-changed signals to all primary objects
svn: r14023
2010-01-10 19:19:33 +00:00
Doug Blank
205b3beadd Enabled Quickviews on all list views; enabled References Quickview for all views
svn: r13947
2009-12-31 14:59:44 +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
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +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
6183947763 Fixed wrong value for 'track' for detached gramplets
svn: r13771
2009-12-12 03:07:19 +00:00
Brian Matherly
3dd5506903 Remove unneeded TranslationOption import.
svn: r13759
2009-12-11 12:38:43 +00:00
Brian Matherly
c3546880fc Fix translated dates in Ancestor Report. Currently, dates for other than the current locale will print in ISO format.
svn: r13758
2009-12-11 05:55:30 +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
Doug Blank
7fbdff5e0d 3352: Confusion in creating multiple views of same type and selecting them; see tracker for more details
svn: r13705
2009-12-05 04:38:31 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Benny Malengier
47158f47ac allow forcing a view to be first in category
svn: r13590
2009-11-15 13:49:27 +00:00
Doug Blank
406e46eac9 Added link and underline sections to base and html docgen types; defaults to silent pass so that we can add to other docgen types without breaking anything yet
svn: r13587
2009-11-15 13:15:54 +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
aee3e932e1 Added fpath and help_url for plugins
svn: r13500
2009-11-05 11:57:19 +00:00
Doug Blank
8143ef6c18 Added localized gettext for registration code
svn: r13490
2009-11-03 13:42:37 +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
822586d8a5 Added plugin.fpath to keep track of path; added edit button in plugin window
svn: r13484
2009-11-03 01:39:47 +00:00
Nick Hall
200bacb1f5 Add extra sections to Complete Individual Report
svn: r13481
2009-11-02 14:57:34 +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
Doug Blank
ba897a8e0f Added __file__ to plugin registration environment (to retrieve addon translations)
svn: r13477
2009-11-01 14:30:56 +00:00
Benny Malengier
ffd61918c4 fix svn properties
svn: r13472
2009-10-31 08:15:10 +00:00
Doug Blank
b5e9f4ddf0 Added missing traceback import
svn: r13440
2009-10-28 10:38:57 +00:00
Brian Matherly
fa10edbfd1 Skip hidden directories when registering plugins.
svn: r13429
2009-10-27 01:44:46 +00:00
Doug Blank
bb99cd20b1 Fixed missing expand option on gramplets; added connect/disconnect signal handling; removed signal to update status bar when gramplet doesn't do anything
svn: r13428
2009-10-27 00:27:40 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Doug Blank
7290694c43 Additions for new gen/plug/_grampley.py
svn: r13420
2009-10-25 22:37:32 +00:00
Doug Blank
2e327a10cf Added missing file
svn: r13419
2009-10-25 22:32:34 +00:00
Doug Blank
6af2d2f30a Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
svn: r13416
2009-10-25 20:29:45 +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
Brian Matherly
4f55365e97 Add translation detection, translation class and report translation option. Leading up to user configurable report translations.
svn: r13391
2009-10-22 04:22:24 +00:00
Peter Landgren
6966e7211a unicode text must be sliced correctly.
svn: r13089
2009-08-20 12:40:38 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Raphael Ackermann
28c404be58 typos & doc string formatting
svn: r12925
2009-08-08 19:11:39 +00:00
Raphael Ackermann
f6409fe94f fixed typos
svn: r12924
2009-08-08 19:10:36 +00:00
Raphael Ackermann
eeac507a40 cleanup (typos, docs, indentation)
svn: r12921
2009-08-08 15:52:12 +00:00
Benny Malengier
cf506f544e fix make install failing
svn: r12803
2009-07-16 09:17:40 +00:00
Gerald Britton
873f830306 Tweak
svn: r12757
2009-07-03 00:29:52 +00:00
Gerald Britton
c919910cca Tweaks to replace for loops with built-in functions and list comprehensions
svn: r12756
2009-07-02 20:01:28 +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
542b1e404d 02707: Add markup notes to html output
part 1: remove template from html output


svn: r12631
2009-06-06 09:49:40 +00:00
Benny Malengier
142e7e4970 move latexbackend into PdfDoc
svn: r12614
2009-06-02 18:42:41 +00:00
Brian Matherly
aa800b3ad6 Misc PEP8 cleanup.
svn: r12610
2009-06-02 12:09:34 +00:00
Brian Matherly
4ca984bd2f 0003033: const dependence in gen/plug/docgen stylesheet
svn: r12608
2009-06-02 11:50:17 +00:00
Benny Malengier
a0b1965c24 remove wrong commit of makefiles
svn: r12604
2009-05-31 15:01: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
Rob G. Healey
5ed724970b Added the Makefiles for those two directories: src/gen/plug/docgen and src/gen/plug/docbackend.
svn: r12599
2009-05-31 03:50:28 +00:00
Benny Malengier
7f6ca2aa45 update Makefiles and po, add not committed __init__ to import docgen module
svn: r12592
2009-05-29 22:41:26 +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
5eb7e18dc6 Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
svn: r12572
2009-05-26 20:48:09 +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
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
Peter Landgren
3e4a289f4b Type _sring.py -> _string.py
svn: r11106
2008-10-04 11:08:05 +00:00
Brian Matherly
71013e9f50 Fix makefiles for previous source file re-arrangements.
svn: r11104
2008-10-04 05:15:06 +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
Brian Matherly
e811924e77 Move PluginUtils._MenuOptions into a new module in gen.plug.menu. Also, put each class in its own file so that it will scale better as new options are added.
svn: r11086
2008-09-27 13:56:17 +00:00