app: serialize and deserialize extensionrc from GimpExtensionManager.
commit02aec4c3d66af4a67ff9d3a2e402d4705ee33d50
authorJehan <jehan@girinstud.io>
Tue, 17 Jul 2018 13:43:43 +0000 (17 15:43 +0200)
committerJehan <jehan@girinstud.io>
Tue, 17 Jul 2018 17:45:51 +0000 (17 19:45 +0200)
tree179bbb57d1ba391f842ce6d29dcabd72d26fc8c3
parentbc427479e055ae42f765d368ae81181f97d2fb83
app: serialize and deserialize extensionrc from GimpExtensionManager.

We only save the active state of extensions so that we can reload all
extensions same as they were at previous exit. All other data are saved
as per-extension metadata and should not be saved in the rc file.

If an extension is not listed in extensionrc, we run it by default if
this is a system extension (so that new core extensions by the GIMP team
are run when installed after an updated), but not when they are
user-installed extensions.
app/core/gimp.c
app/core/gimpextension.c
app/core/gimpextension.h
app/core/gimpextensionmanager.c
app/core/gimpextensionmanager.h