Commit Graph
57 Commits
Author SHA1 Message Date
Mikaël Capelle 28210d3d7a Fix unloading of modules. Up warning levels to 4. 2022-05-05 22:03:18 +02:00
Mikaël Capelle 30a01cf783 Fixes and tests. 2022-05-02 18:56:44 +02:00
Mikaël Capelle 275acba6dd Add back warning from proxy. 2022-04-28 22:47:49 +02:00
Mikaël Capelle 68060b0e6b Global re-organization to split mobase from runner. 2022-04-28 22:44:15 +02:00
Mikaël Capelle b2767887a9 Many update to have a fully isolated plugin_python. 2022-04-28 21:38:27 +02:00
Mikaël Capelle 4c7b452219 Multiple fixes. 2022-04-28 13:44:29 +02:00
Mikaël Capelle d0e883fd90 Fix Qt ownerships. 2022-04-27 19:43:10 +02:00
Mikaël Capelle 55e8ce326a Finally implement everything (some stuff not working). 2022-04-26 13:53:02 +02:00
Mikaël Capelle 92a2429d58 Fix installers. 2022-04-25 22:17:34 +02:00
Mikaël Capelle 5ec456f880 Continue implementing plugins. 2022-04-25 21:21:06 +02:00
Mikaël Capelle 8bd7d08d1a Start moving to pybind11.
# Conflicts:
#	.gitmodules
2022-04-21 23:57:05 +02:00
Mikaël Capelle b1c51ada08 Remove support for external Python. 2022-02-13 17:33:53 +01:00
Chris Bessent a9a3d49efa Add enabledByDefault to IPlugin definition 2021-03-02 02:45:47 -07:00
Mikaël Capelle cd9b16dcc2 MOException -> Exception. 2020-12-04 12:04:45 +01:00
Mikaël Capelle 5cad8a9ff8 Rename MyException to MOException. 2020-12-04 11:49:44 +01:00
Mikaël Capelle bc05ec6477 Add IPluginProxy::unload() and rename instantiate() to load(). 2020-12-01 21:18:06 +01:00
Mikaël Capelle 7dbc139b10 Fix crash when destructing Python save games due to the GIL lock. 2020-11-19 20:40:05 +01:00
Mikaël Capelle 27c34af2aa Update authors. 2020-11-11 21:54:54 +01:00
Mikaël Capelle ead8352c93 Remove isActive() for the Python proxy plugin. 2020-11-11 11:22:10 +01:00
isanae 86297b1170 removed unused IOrganizer from PythonRunner 2020-11-06 09:25:01 -05:00
isanae 6a73c23a4b added registered() python wrapper
null checks for the IOrganizer, replaced pluginDataPath() by the static version getPluginDataPath()
2020-11-06 09:06:55 -05:00
isanae 6445f7f47f handle empty variants returned from pluginSetting()
can happen when init() is called when MO has no instance set up
2020-11-04 22:52:56 -05:00
Mikaël Capelle a05006a0b3 Allow implementation of python plugin as whole module. 2020-05-11 23:51:58 +02:00
LostDragonist 52dd7454be Update version 2019-10-06 17:22:09 -05:00
LostDragonist 059dc8b9d2 Report plugin as active even if failed
This is required for the plugin to report notifications.  This
behavior was changed in the main MO program at some point.
2019-10-06 17:20:53 -05:00