summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-27improves documentationJosé Bollo9-118/+300
Change-Id: Idbd1b735571c2e35daed23d43f8d5d3990881533 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves documentationJosé Bollo8-68/+1100
Change-Id: I5abae06cd5b5127fca97ba12aa8f18d037a95d79 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27Adds the library libafbwsc.soJosé Bollo5-3/+66
This library is intended to be used by C clients to connect to the binder and access to its fetures through the websocket. An example of integration is given by afb-client-demo.c It is known that it introduces an unwanted dependency to afb-common. This is a temporary issue. Change-Id: Ie0a395f116f6ee05679525a6399ef23ef245c944 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27terminology: Level Of AssuranceJosé Bollo3-20/+20
Change-Id: I3c92aab34ba9414faf19d9a96d8f1de786f1e7b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27fix formatting errorJosé Bollo1-1/+1
Change-Id: I1e5842a43a50c357d78f3318b4c0eed8ad1676e2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27allows to remove file/line indicationJosé Bollo1-5/+14
Change-Id: I800dfdc68dc4538b2c46367a8594d7ac6a36824d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27remove unuseful flagsJosé Bollo1-1/+0
Change-Id: I1ae220cc7621647b0cbe1fa6ea4a21619b8fc52c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves detection of formatting errorJosé Bollo2-1/+2
Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27improves namingJosé Bollo1-4/+3
Change-Id: If26d8b9af05c84bd24d0ac3ceb9a628a0039c2a6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27indicates the call to initialisation functionJosé Bollo1-0/+1
Change-Id: Ia2e27fa2661b539e67e388a7e9f3fc1555281bd7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-4/+4
>100 return values are strangely returned by PulseAudio when doing an initial connection from afb-daemon. Just ignore them, because it breaks the logic. Allow 2 seconds of initial asynchronous connection (it should return earlier anyways). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-27Improve Audio plugin PulseAudio backendManuel Bachmann1-26/+38
Remove obvious errors from the PulseAudio backend. It does not work yet (permissions issues ?), and some parts of the code are still hardly self-explaining. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-26restore namesjobol1-2/+2
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26rename parameter to argumentjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26update documentationjobol9-166/+687
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-26css: minor updateYannick Gicquel1-3/+10
pre block: margin alignment h1,h2,h3: add outline Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-05-25Set LOA SampleFulup Ar Foll1-2/+2
2016-05-25Set LOA SampleFulup Ar Foll1-4/+8
2016-05-25refactor requirementsjobol1-5/+5
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-25more docjobol1-11/+96
Signed-off-by: jobol <jobol@nonadev.net>
2016-05-25begins the documentationJosé Bollo10-0/+1208
Change-Id: I560725dfa5dd7ab1ae5e91b45f5ba613c3a2c1de Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24tic-tac-toe: improvementJosé Bollo1-10/+21
Change-Id: If59b14bce431c336bd9d800098c20ade3a915f4c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24Comments and fix of afb_req_unstoreJosé Bollo2-57/+173
Change-Id: I64e3a1769a225041a998b1b9406a5ebe1a7f19d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24avoid to free the same pointerJosé Bollo1-1/+1
Change-Id: I0cf860c42046dd3819416688db24a2cd51c3f3aa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24improves commentsJosé Bollo2-0/+8
Change-Id: I6ddde79307b40c33ffd0208fe72ef84626c47cac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24tictactoe: adds asynchronous and signalingJosé Bollo1-10/+103
Change-Id: I6cf178f795957d109463041efe1ec211309b7e80 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24Improves behaviour of afb_req_getJosé Bollo1-3/+5
The implementations of afb_req_get were not the same for HTTP and WebSocket when the argument wasn't set. Change-Id: I2f09376f597ee75a50b06423a19823040a9352e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24don't export PLUGIN_INSTALL_DIR anywhereJosé Bollo3-3/+3
Change-Id: I32689b3de32f5c85b461edcb63ef4d0117ff9ecb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24adds the tic-tac-toe exampleJosé Bollo2-0/+527
Change-Id: I9c52b2e4f17ad3f02e0ef64fdd78864b3761e0b2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-24add log macros for pluginsJosé Bollo6-64/+100
Change-Id: I3de30aeb90a41ed8ee63ec1e19c6032440d65574 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23fix regression of AFB_SESSION_NONEJosé Bollo1-1/+1
Change-Id: I1a03b99aa24bac7f801f94cfa0c8fd1cf28107e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix Radio plugin linking, improve Radio codeManuel Bachmann5-25/+58
Radio plugin now links correctly again (-lm was missing). Fix Radio plugin logic for new API, guard against some undefined values. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-23fix unicity of returned reqidJosé Bollo1-7/+3
Change-Id: Ib6c56844312112cc20e2c930f5803d620a9cbafc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Setting and checking LOAJosé Bollo6-14/+109
Change-Id: I02c3795c6e212491605861228eb60b731be78537 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Improve the Audio ALSA backendManuel Bachmann2-25/+61
Guard the ALSA backend against some undefined values, error codes, and remove a memory leak. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-23adds 'reqid' for GET/POST requestsJosé Bollo1-13/+27
Change-Id: I222dc17bc9f9795d0931c5a5b90ef53daacd026b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix don't close session on 'create again' errorJosé Bollo1-1/+0
Change-Id: I3ea1f1d76ab111217c8a229da7443becde4ec9e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-23Fix DON'T ALWAYS CLOSE SESSIONJosé Bollo1-1/+1
Change-Id: I93439f9d111598d8917e7fb3eeb8434d29cf877a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Add verbs for closing and setting LOAJosé Bollo3-2/+19
These new verbs are now available to plugins. LOA is the level-of-authorisation. The usage of these new verbs must be protected by a mechanism that is still to be done. Change-Id: Ia591fb6bf9cd16956dc95658c5ba3a24ee4380be Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-22Fix AFB_SESSION_CREATE behaviourJosé Bollo6-9/+71
This commit allows to call methods having AFB_SESSION_CREATE at any time. This commit prepares the future LOA (level of authorization) implementation that wille soon replace the deprecated mechanism of AFB_SESSION_CREATE. Change-Id: Ia3e99186e012fcd55a6c81a7067ab5b4aca21e4d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-20set version to 0.5José Bollo1-1/+1
Change-Id: Ibc6bc30bc5ae19819fa5051a445d1cf6780b0185 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-20fix one-page-application redirectJosé Bollo3-5/+18
Change-Id: I80c4dbda86cd1bc2847dea5b1dea304f41c551e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18Add QML WebSockets sample (token API)Manuel Bachmann1-0/+140
Creates, refreshes and destroys tokens via websockets. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-20plugin: improves error detectionJosé Bollo2-19/+31
Change-Id: Ib6b1f958c347c04a0697c2e1d8116773a5977bd4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19minor: documenting and cleaningJosé Bollo2-2/+20
Change-Id: Ia5a84655ac7f881682409c3c6ed72e395c86a34d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19afm-main-api: plugin moved to afm-mainJosé Bollo5-1494/+0
Change-Id: I627a698e17020e8437fa0045d7a35353f216d1e5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19improves compatibility with yoctoJosé Bollo3-10/+7
Change-Id: I6458dd1e66b96c564d67304fc8f193772914499b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19setting version and removing afm-main-pluginJosé Bollo3-10/+17
Change-Id: I282918e281d5c442b7259ffcd46b4ba0098fefe0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-19websocket: accept empty protocolJosé Bollo1-1/+5
Change-Id: If4d8609d5340faa53fea9e133a5415a576cbf5c5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-18adds a pkgconfig fileJosé Bollo4-4/+44
Change-Id: Ic0d143f282feef7335c7ea2bf589df90af4eef2f Signed-off-by: José Bollo <jose.bollo@iot.bzh>