Mikaël Capelle
1ea006b74e
Add bindings for FileInfo.
2020-05-03 18:26:27 +02:00
Mikaël Capelle
af37a451f9
Better variant handling for IFileTree::merge.
2020-05-03 18:26:11 +02:00
Mikaël Capelle
585296d527
Fix issue with shared pointer being registered twice.
2020-05-03 18:24:32 +02:00
Mikaël Capelle
221949f48b
Fix issue with Functor_converter when return type was not bool or void.
2020-05-03 13:39:04 +02:00
Mikaël Capelle
8b118ad898
Better handling of boost::variant.
2020-05-03 13:38:47 +02:00
Mikaël Capelle
f83ed39287
Modify FileTypes enumeration for FileTreeEntry.
2020-05-03 12:57:23 +02:00
Mikaël Capelle
8a286f9cfc
Change Functor_converter to use a function-type template argument.
2020-05-03 12:57:01 +02:00
Mikaël Capelle
70172ddda6
Add possibility to create GuessedString from python.
2020-05-02 15:34:06 +02:00
Mikaël Capelle
817f8d7238
Fix variants() method of GuessedValue.
2020-05-02 15:05:24 +02:00
Mikaël Capelle
9f5dab285d
Fix return_value_policy for methods returning QWidget.
2020-05-02 15:04:44 +02:00
Mikaël Capelle
53b91f0092
Update exposed method names for installer to be consistent with others.
2020-05-02 13:28:08 +02:00
Mikaël Capelle
f1d5a1f31b
Improve GuessedValue binding and switch to upper-case for enumerations in Python.
2020-05-02 13:22:55 +02:00
Mikaël Capelle
626a7bc670
Update python bindings for tree to be consistent with others.
2020-05-02 13:22:34 +02:00
Mikaël Capelle
c9115e7ad0
Add python interface for IPluginInstallerSimple.
2020-05-02 00:30:17 +02:00
Mikaël Capelle
6cececc7a0
Fix issue with default QDateTime() throwing error.
2020-05-01 21:32:30 +02:00
Mikaël Capelle
d82640455f
Update wrappers and expose the new file tree interface.
2020-05-01 21:32:08 +02:00
Mikaël Capelle
f25602cc69
Update the wrapper and the python interface after change to IModInterface.
2020-05-01 21:30:31 +02: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
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
2b6f453fbc
Add better error handling when loading the SIP API
2019-07-01 22:19:14 -05:00