LanguagePlugins and AlwaysOn

Andreas Pakulat apaku at gmx.de
Thu Jun 17 18:00:28 UTC 2010


On 17.06.10 19:10:47, Milian Wolff wrote:
> Heyho,
> 
> while working on the multilang support I found out that the "AlwaysOn" 
> attribute doesn#t actually mean AlwaysOn but more "neverUnload". But imagine 
> this:
> 
> open index.html
> => langController->languagesForUrl()
> (foreground)
> => loads XML Language Support
> => parsejob
> => run (background)
> <style type="text/css">
> => langController->languagesForMimeType("text/css")
> => nothing found since loading plugins from the background is explicitly 
> forbidden
> 
> Now what to do? Can't we simply load all language plugins _always_? I.e. also 
> at start?

Btw, who disallows loading plugins from background threads? I can't see
anything in our own codebase, so is this something that kdelibs or Qt
restrict?

Andreas

-- 
Life is to you a dashing and bold adventure.




More information about the KDevelop-devel mailing list