[Eric] ANN: new eric4 snapshot

Detlev Offenbach detlev at die-offenbachs.de
Sat Jul 14 09:06:03 BST 2007


On Sonntag, 8. Juli 2007, Jürgen Urner wrote:
> Detlev Offenbach wrote:
> > Hi,
> >
> > I am proud to announce a new eric 4.1 snapshot release. It fixes some
> > bugs and contains these changes.
> >
> > - made plugins deactivateable and added a context menu to the plugins
> >   info dialog
> > - added code to remember the deactivated plugins
> > - added dialog to install new plugins
> > - added dialog to uninstall plugins
> > - added the methods registerPluginObject/unregisterPluginObject to
> >   KQApplication to allow Plugins to register their object.
> > - added code to allow registered plugins, that have a getActions() method
> >   to have the shortcuts configured via the shortcuts configuration dialog
> > - added code to allow active plugins to be configured via the
> >   configuration dialog
> > - added the commandline option --plugin=pluginfile to eric4.py. This
> >   option can be used for plugin development to specify a plugin file
> >   to load (e.g. eric4 --plugin=/my/plugin/develoment/area/PluginTest.py).
> > - added actions and code to create eric4 plugin archive files
> > - added the new project type "Eric4 Plugin"
> > - added code to run/debug/... an eric4 plugin from within eric4 by
> > starting another eric4 process instead of the plugin main script
> > - removed the character tables dialog
> >   (will be provided as a plugin by Jürgen Urner)
> > - removed the Bicycle Repair Man code and converted it to a standalone
> >   plugin
> > - added option to configure, whether the project browsers should
> > highlight the entry for the file of the current editor
> > - added a field to enter a more descriptive text for a task
> > - changed the way how files and directories can be added to a project in
> >   order to respect the project's filetype associations
> >
> > As usual it is available via
> > http://www.die-offenbachs.de/eric/snapshots4.
>
> A nice to have would be a custom directory for Eric to check for plugins.
> Maybe in some plugin dialog: "Additional directories to check for plugins"

What purpose should this serve? eric4 already supports three areas: the core 
area within itself, the global area "eric4plugins" in site-packages and a 
user area in .eric4 in the users home directory. For development purposes you 
can give the --plugin= option.

>
>
> And a minor glitch....
> Context menu in PluginInfoDialog.py throws an exception when requested for
> an empty area in the plugin list. Threw in a test for "itm is None" to
> fix this.
> ---------------------------------------------------------------------------
>------------------------------------------------- --- PluginInfoDialog.py   
> 2007-07-07 11:43:57.000000000 +0200
> bck/PluginInfoDialog.py    2007-07-08 19:32:17.000000000 +0200
> @@ -87,6 +87,9 @@
>          @param coord the position of the mouse pointer (QPoint)
>          """
>          itm = self.pluginList.itemAt(coord)
> +        if itm is None:
> +            return
> +
>          autoactivate = itm.text(2) == self.trUtf8("Yes")
>          if itm.text(3) == self.trUtf8("Yes"):
>              self.__activateAct.setEnabled(False)
>
>
>
> Jürgen

Thanks for spotting this error. Will be fixed in the next snapshot.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the Eric mailing list