On Fri, 8 Aug 2008 09:31:27 -0400, "Dominic Lachowicz"
<domlachowicz@gmail.com> wrote:
> On Fri, Aug 8, 2008 at 4:57 AM, Enrico Tröger
> <enrico.troeger@uvena.de> wrote:
> > On Thu, 7 Aug 2008 08:15:23 -0400, "Dominic Lachowicz"
> > <domlachowicz@gmail.com> wrote:
> >
> >>
> >> > The check for valid language tags is fine, so this solved the
> >> > problems when requesting a non-existing language. But the
> >> > mentioned DBus warnings on a second broker instance are still
> >> > present when requesting a dictionary starting with "tr".
> >>
> >> I couldn't care. You're creating multiple EnchantBrokers over the
> >> life of your program, which was never promised to work.
> >
> > Hmm ok. It's not really that way, only in the testcase.
> > In the real world: there is the main application (Geany) which
> > loads a plugin (spellcheck) and this spellcheck plugin loads
> > libenchant and create a broker object. If the plugin is unloaded in
> > Geany, the broker object is freed but the user can still load the
> > plugin in Geany again and then it crashes due to DBus stuff in the
> > Zemberek provider.
>
> Not to be rude, but why would anyone ever do that? And why would a
> program let that happen? I thought we all agreed a few years ago that
> unloading plugins @ runtime was a bad idea :)
Not to be rude too, no idea what YOU had agreed for YOUR apps or
whatever, but you certainly didn't agree anything on MY app, especially
not years ago. So, I like to be able to load/unload plugins at runtime
which makes it much more usuable for the users, maybe you won't agree on
that, I don't care.
Loading/Unloading plugins at runtime is a IMO a basic feature of any
plugin support because this way you can easily skip unwanted plugins
from loading or force a certain plugin to re-initialise itself by
unloading it and reloading it again.
Maybe Abiword doesn't need this feature (or you just ignore users'
wishes?), but I want it in my app and except for enchant, everything
works fine with this.
Regards,
Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
This archive was generated by hypermail 2.1.8 : Sat Aug 09 2008 - 16:52:23 CEST