Mikaël Capelle
54e447c0a9
Switch from boost variant/tuple to std.
2020-05-04 01:47:30 +02:00
Mikaël Capelle
206454c34e
Remove makeTree that was meant for testing purpose.
2020-05-03 23:16:58 +02:00
Mikaël Capelle
b9de35772f
Clean sequence converters.
2020-05-03 20:57:50 +02:00
Mikaël Capelle
4589cab093
Add missing std::vector register for installation manager.
2020-05-03 20:19:25 +02:00
Mikaël Capelle
2b4eedb62b
Clean std::set/std::vector from/to python conversions.
2020-05-03 20:17:49 +02:00
Mikaël Capelle
61ad2ef2b6
Clean bindings for IFileTree and FileTreeEntry.
2020-05-03 18:27:26 +02:00
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