Commit Graph

1226 Commits (89d8d371f6a63d60af2e3009268be098e1c1bb28)

Author SHA1 Message Date
Michael Zanetti 89d8d371f6 update plugins to use the interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti c0cb9ac2e7 bump json version 2019-04-02 01:02:45 +02:00
Michael Zanetti f223da3467 reenable all the device plugins 2019-04-02 01:02:45 +02:00
Michael Zanetti 4fc0ef01fa add a test 2019-04-02 01:02:45 +02:00
Michael Zanetti f48a1d185b add docs for interfaces 2019-04-02 01:02:45 +02:00
Michael Zanetti 37f2e47ca5 make this static, not needed for every plugin 2019-04-02 01:02:45 +02:00
Michael Zanetti ce3a21bd4e revert unneeded change 2019-04-02 01:02:45 +02:00
Michael Zanetti 85c96f6b4f revert change in devicemanager 2019-04-02 01:02:45 +02:00
Michael Zanetti 45caf66851 initial work on interfaces
have some interfaces defined and in use by DeviceManager and the API.
this can be used to build first prototypes in apps using the interfaces
stuff. Currently the lights interfaces are mostly defined and fully
implemented by the Hue plugin.

TODO: more interfaces to be defined, make more plugins follow
interfaces.
TODO: tests for the interface code
TODO: docs for the interface code
2019-04-02 01:02:45 +02:00
Michael Zanetti e9818e9caf blabla 2019-04-02 01:02:45 +02:00
Michael Zanetti 067948ff02 try this 2019-04-02 01:02:45 +02:00
Michael Zanetti 27ea8ae13f bla 2019-04-02 01:02:45 +02:00
Michael Zanetti 445bdae46e don't build guh-doc package in nodoc 2019-04-02 01:02:45 +02:00
Michael Zanetti 62f09bfbbb bump 2019-04-02 01:02:45 +02:00
Michael Zanetti f09c712420 bump changelog 2019-04-02 01:02:45 +02:00
Michael Zanetti 25980d3df9 dev-tools need to be native 2019-04-02 01:02:45 +02:00
Michael Zanetti 5453f45f96 nodoc, not nodocs 2019-04-02 01:02:45 +02:00
Michael Zanetti 5ce47a4fb1 this should do now 2019-04-02 01:02:45 +02:00
Michael Zanetti b457bbaa02 print build options 2019-04-02 01:02:45 +02:00
Michael Zanetti e21740a852 try this 2019-04-02 01:02:45 +02:00
Michael Zanetti f6bb4c9209 fix typo 2019-04-02 01:02:45 +02:00
Michael Zanetti 34fbf774e4 add docs only if nodocs is not set 2019-04-02 01:02:45 +02:00
Michael Zanetti e057190254 try this 2019-04-02 01:02:45 +02:00
Michael Zanetti b2e1832ce9 fix typo 2019-04-02 01:02:45 +02:00
Michael Zanetti c997ea9095 add docs only if nodocs is not set 2019-04-02 01:02:45 +02:00
Michael Zanetti 8eea8b10f0 make it build in a multiarch cross build environment
TODO: check if docs still build on regular builds
2019-04-02 01:02:45 +02:00
Michael Zanetti 165f61ee20 fix tests 2019-04-02 01:02:45 +02:00
Michael Zanetti ce123f9352 emit a notification when a plugin config is changed
fixes #418
2019-04-02 01:02:45 +02:00
Michael Zanetti e3fb32f0c4 remove debug print 2019-04-02 01:02:45 +02:00
Michael Zanetti e3c57c226b fix tests 2019-04-02 01:02:45 +02:00
Michael Zanetti f45e093cf1 don't access TimeManager at this point...
besides, we want the given timestamp anyways
2019-04-02 01:02:45 +02:00
Michael Zanetti 414d25c870 fix time events for rules
old code would compare QTime == QTime() every second which might not trigger
if e.g. milliseconds don't match. New code checks the interval between the
last check and the current one.
2019-04-02 01:02:45 +02:00
Michael Zanetti ac179d0f70 fix avahi service browser destruction
without keeping track of the avahi service resolvers and
destroying them when the parent object goes away, callbacks
might be called after after the dhe destruction and passing
an invalid userdata pointer.
2019-04-02 01:02:45 +02:00
Michael Zanetti 3ed80c2766 it's not forking any more! 2019-04-02 01:02:45 +02:00
Michael Zanetti bdef3ddd0d don't detach in systemd 2019-04-02 01:02:45 +02:00
Michael Zanetti 98748e800d make logging optional 2019-04-02 01:02:45 +02:00
Michael Zanetti 3577f37e1e fix some docs typos 2019-04-02 01:02:45 +02:00
Michael Zanetti 4355be5b4b some improvements for developing plugins 2019-04-02 01:02:45 +02:00
Simon Stürz 7e68f5cac2 update copyright 2019-04-02 01:02:45 +02:00
Simon Stürz a34665eea4 Fix bluetooth error for older builds 2019-04-02 01:02:45 +02:00
Simon Stürz 7273e35adf fix prints 2019-04-02 01:02:45 +02:00
Simon Stürz 308aef672b fix print method 2019-04-02 01:02:45 +02:00
Simon Stürz b9053a31ae update plugin compiler 2019-04-02 01:02:45 +02:00
Simon Stürz 8d648b7eb8 start cleanup of multisensor plugin 2019-04-02 01:02:43 +02:00
Simon Stürz 2e4b02099b update license headers 2019-04-02 01:02:21 +02:00
Simon Stürz e05ef20c97 update copyright 2019-04-02 01:02:07 +02:00
Simon Stürz 9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz 2d7b59f713 fix test method for setting the time 2019-04-02 01:01:32 +02:00
Simon Stürz 8963dbcc57 bump version 2019-04-02 01:01:32 +02:00
Simon Stürz eb8cad0440 don't build mock plugin if testing is disabled 2019-04-02 01:01:32 +02:00