Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Allowing Plugin Interdependency and Improving Plugin Management
dmoore:
Small update on this. Apparently on some linuxes (e.g. I think YES Fedora, but I think NO for Ubuntu) ~/.local/lib is in the library search path for each user. So this would make it possible to use a cbplugin package deploy a lib shared by multiple plugins into the user space (i.e. no root/admin permissions required). So plugins could still be installed to ~/.codeblocks/share/... but common libs would need to go in ~/.local/lib in order to be found.
As a side note, according to the free desktop standard, C::B should really be using ~/.config and ~/.local for settings and plugin files, so maybe plugins should go somewhere like ~/.local/lib/codeblocks (see http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
oBFusCATed:
I've just re-read the topic.
And I really think we should get at least the first part of the patch in trunk.
Does it change anything in the plugins (manifest/api/abi)? If no then it should be relatively safe to apply it. Hopefully it will improve the load time of cb, which is pretty bad at the moment.
MortenMacFly:
--- Quote from: oBFusCATed on January 30, 2016, 07:26:03 pm ---And I really think we should get at least the first part of the patch in trunk.
--- End quote ---
Probably, but please not the comment in this line:
--- Code: (diff) ---+ cbPlugin* plugin = FindPluginByName(basename); // THIS DOESN'T WORK RIGHT...
--- End code ---
So its not ready yet... Furthermore it should be carefully tested. E.g. is it still possible to enable/disable/enable a plugin.
dmoore:
It needs to be changed to handle enabling and disabling multiplugin bundles. Off the top of my head, I cannot recall what the issue was with the DOESN'T WORK RIGHT comment.
ollydbg:
--- Quote from: oBFusCATed on January 30, 2016, 07:26:03 pm ---I've just re-read the topic.
And I really think we should get at least the first part of the patch in trunk.
Does it change anything in the plugins (manifest/api/abi)? If no then it should be relatively safe to apply it. Hopefully it will improve the load time of cb, which is pretty bad at the moment.
--- End quote ---
I agree.
--- Quote from: dmoore on February 01, 2016, 02:13:45 pm ---It needs to be changed to handle enabling and disabling multiplugin bundles. Off the top of my head, I cannot recall what the issue was with the DOESN'T WORK RIGHT comment.
--- End quote ---
I just apply the patch, and I can enable or disable multiply plugins without any issue. :)
EDIT: I just forget to rebuild the SDK target, sorry, so this is not tested yet, I'm just rebuilding the whole codeblocks_w30.cbp.
EDIT2: After the rebuild, and just tested again, and see no issue here when I enable or disable multiply plugins.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version