Mikaël Capelle
a05006a0b3
Allow implementation of python plugin as whole module.
2020-05-11 23:51:58 +02:00
Silarn
168b9d7b0d
Appveyor CMAKE fix
2020-05-01 04:59:02 -05:00
isanae
332b8239bb
unused
2020-04-25 00:51:20 -04:00
isanae
97a93a5989
now using new cmakefiles
2020-04-25 00:51:14 -04:00
AnyOldName3
c5d4857f47
Make functor converter variadic
...
Duplicating code three times is silly.
2020-04-16 00:56:57 +01:00
AnyOldName3
5825661a4f
Only initialise Python once
...
When switching instances, the Python runner gets another initPython call, despite the previous interpreter existing. Most of the function was either a no-op or was redundant, and the GIL state got confusing. This is the simplest fix.
If things catch fire that I haven't anticipated, instead of returning true, we can destroy the pre-existing interpreter and create a new one by running the rest of the function.
2020-04-16 00:53:29 +01:00
AnyOldName3
2e13cf0dab
Ensure we relinquish the GIL after initialising Python and have it when destroying callables
2020-04-15 17:01:28 +01:00
Silarn
b0ef81214a
Fix cmakelists and use zip
2019-10-29 01:35:15 -05:00
Silarn
b2ae43a0e5
Add lightPluginsAreSupported to the wrapped game plugin functions
2019-10-19 02:28:01 -05: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
AnyOldName3
63a6c504b0
Restore logging of historically-logged Python exceptions.
2019-07-22 00:08:35 +01:00
AnyOldName3
19dcdd95c0
Prevent PyQt from using its buggy exception logging by making it look like we're using custom exception handling.
2019-07-15 20:04:44 +01:00
AnyOldName3
ac5540ba87
Forward Python stdout and stderr to qDebug and qCritical
2019-07-15 20:02:18 +01:00
Silarn
0708bdedbf
Improve error parser for _C_API loader
2019-07-02 12:33:18 -05:00
Silarn
2b6f453fbc
Add better error handling when loading the SIP API
2019-07-01 22:19:14 -05:00
AnyOldName3
e280b07cb6
Correctly use SIP to transfer ownership of objects from Python to C++
2019-06-01 00:59:39 +01:00
LePresidente
78278ae57d
Support Appveyor.
2019-04-29 10:30:47 +02:00
LostDragonist
3eb85cd17f
Update for startApplication
2019-03-24 21:28:13 -05:00
Brian Munro
208965b96d
Merge pull request #22 from ModOrganizer2/Appveyor
...
Removed unneeded cmake variables due to that umbrella handles them co…
2019-03-09 20:20:01 +02:00
LostDragonist
c17d703b15
Add function for tracking status
2019-03-07 11:20:59 -06:00
LostDragonist
65eb0c6374
Add function to get configured mods directory
2019-02-23 07:11:19 -06:00
LostDragonist
97a20d522a
Add setGameName to the mod interface
2019-02-22 22:16:17 -06:00
Silarn
caee1fb7f6
Change to uibase requires Qt5Network linkage
2019-02-18 21:40:12 -06:00
Silarn
bab649af43
Update to support API changes to uibase
2019-02-18 21:40:12 -06:00