Michael Zanetti
74029c94a6
Fix a double-free when shutting down the python engine.
...
Python_AddObject() will steal the reference and delete it. Since we
deleted m_logger ourselves too, a double free would corrupt memory
on nymea shutdown.
This would cause tests to crash when restarting the core within
a single process by restartServer()
2021-12-09 13:28:14 +01:00
Michael Zanetti
59011c0387
Add PluginTimer API to python plugins
2021-08-26 14:15:43 +02:00
Jenkins nymea
07327b8bb4
Merge PR #406 : Add browsing support to python plugin API
2021-04-19 11:38:27 +02:00
Jenkins nymea
d35765cb72
Merge PR #404 : Clean up PyStdoutHandler on shutdown
2021-04-19 11:38:25 +02:00
Michael Zanetti
e6780d947d
Add support for browsing in the python plugin api
2021-04-06 23:56:31 +02:00
Michael Zanetti
193c647dc6
Also add api key storage api to python
2021-03-14 20:41:30 +01:00
Michael Zanetti
317467a05b
Clean up PyStdoutHandler on shutdown
2021-03-14 20:20:59 +01:00
Michael Zanetti
9d30be2568
Add support for the plugin storage to python plugins
2021-03-08 00:47:12 +01:00
Michael Zanetti
16c4fa3345
fix issues in teardown.
2020-10-15 22:34:06 +02:00
Michael Zanetti
75f4877f82
add settingChangedHandler, fix some issues, cleanup some warnings
2020-10-15 22:34:06 +02:00
Michael Zanetti
3436e9b998
drop usage of asyncio and run everything regularly threaded
2020-10-15 22:34:06 +02:00
Michael Zanetti
64e7d2784c
checkpoint asyncio
2020-10-15 22:34:06 +02:00
Michael Zanetti
78e37f0d87
Fix shutdown
2020-10-15 22:34:06 +02:00
Michael Zanetti
b870140608
Add tests, fix shutdown
2020-10-15 22:34:06 +02:00
Michael Zanetti
0cbd1ff5ec
Clenaup and polish types.
2020-10-15 22:34:06 +02:00
Michael Zanetti
a90841401c
more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
1ce5d5980d
some fixes
2020-10-15 22:34:06 +02:00
Michael Zanetti
8aa91292fe
more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
c7f957f201
some more python plugin work
2020-10-15 22:34:06 +02:00
Michael Zanetti
f97e5bf4d0
more work
2020-10-15 22:34:06 +02:00
Michael Zanetti
125aee7153
Some more python plugin stuff
2020-10-15 22:34:06 +02:00
Michael Zanetti
13d10b8aa0
some more python plugin work
2020-10-15 22:34:06 +02:00
Michael Zanetti
31cf425b79
intermediate
2020-10-15 22:34:06 +02:00
Michael Zanetti
a2e6d9e185
Add an event loop
2020-10-15 22:34:06 +02:00
Michael Zanetti
380e962bd1
some more work on python plugins
2020-10-15 22:34:06 +02:00
Michael Zanetti
d17b44c83d
Initial attempt to support python plugins
2020-10-15 22:34:06 +02:00