summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-06-09Make possible to call a method from a bindingJosé Bollo9-13/+313
The new request call 'afb_req_subcall' allows a binding to call the method of an other binding. Change-Id: I8538185be7a1663153a25db2bc940f9e2bdedb1a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-09documentation: switch to pandocJosé Bollo11-2452/+1641
Change-Id: I60fcea9d370f5b98efa1e08632f5f9682741b8c1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-09update repository's paths to gerrit.automotivelinux.orgJosé Bollo4-14/+20
Change-Id: I323d82f1a67de8733e38f8c965241fffbcc88a7f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-09Events: refactoringJosé Bollo16-164/+500
This new version allows to subscribe a client for an event. The event should first be created for the API (the API's prefix is added) using 'afb_daemon_make_event'. After that, plugins can subscribe or unsubscribe their clients (identified through requests) to the events that it generates. See 'afb_req_subscribe' and 'afb_req_unsubscribe'. Events created by 'afb_daemon_make_event' can be widely broadcasted using 'afb_event_broadcast' or pushed only to suscribers using 'afb_event_push'. Events can be destroyed using 'afb_event_drop'. Change-Id: I7c0bed5e625c2052dcd81c6bfe960def1fa032f3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-09fix double free errorJosé Bollo1-1/+1
Change-Id: I2b0ee05f67133c9b089da7ab6d36c0728d1cbe55 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08Websocket: improves overall integrationJosé Bollo3-252/+98
Change-Id: I7af7b96d2f32b706eb378747c3719fa48f68c961 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08wsj1: minor API refactoringJosé Bollo2-19/+40
Change-Id: I55e597a7c7cea295993326a6c4b362a136c05e4e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08Improves message formatingJosé Bollo4-22/+48
Change-Id: Ifde5ff73cd6a73715fd4d6fd58101d9e97a3bef4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08DBus binding: first draftjobol5-0/+707
Implements the verb 'rawcall' Change-Id: Id83b065f778f2fd61ecf6e4e13bff3cc17d8ef18 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-08Avoids javascript errorsJosé Bollo1-1/+12
But doesn't make AfbAngular functionnal. Change-Id: I643c81792fa757710327a8f66a79a1c8173ebe75 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-02afb-hreq.c: fix etag size (fixes stack smashing detected by stack protector)Stephane Desneux1-1/+1
Change-Id: I843dba1d07396ddcfb35b010e7e3a9a9ac73c143 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-05-31Set version 1.0José Bollo1-4/+4
Change-Id: I4e10154ae465b8175201f57c3ba0fba8be6d69cc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-31update html pagesJosé Bollo1-74/+69
Change-Id: I69014a4fe61ddc290be7abcc09065db60f1a4c5e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30afb-application-writing.md reviewFulup Ar Foll2-148/+163
2016-05-30Improves documentationJosé Bollo6-82/+522
Change-Id: I7a93b69d56912f396aa7819149038746aa59e620 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30update documentationJosé Bollo7-46/+175
Change-Id: I64a28ead6a82658dd9a95c7d54742dbe018ef574 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30Fix PulseAudio backend crash with multiple cardsManuel Bachmann1-0/+1
With multiple sound cards, dynamic allocation may have been skipped.o Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-30Add tests documentation, fix typoManuel Bachmann2-1/+79
Document the tests in "test/". Fix typo in plugins documentation. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-30remove the document afb-daemon.{md,html}José Bollo6-352/+369
Change-Id: I6877be36cbc4e4125d7cdf658807aee98de4c82a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30add option --session-maxJosé Bollo2-2/+16
Change-Id: I0f1a3ea3099b6b4e5485efa927c98c316ae6d195 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30Improves the documentationJosé Bollo10-379/+1125
Change-Id: Iac5ee5c2ca014ced5fe836601e9afc362a9d4fda Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30applies timeout setting for apisJosé Bollo4-1/+9
Change-Id: I6ff93946990400a6e900d6d6916e2b68af92fbcc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-30Update plugins documentation (give verbs)oManuel Bachmann1-3/+67
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-30Update plugins documentation (helloworld, auth, tictactoe)Manuel Bachmann2-17/+78
Add doc. for Hello World, Authentication, Tic Tac Toe. Fix a few typos and formatting issues. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-30Add basic documentation for pluginsManuel Bachmann2-0/+116
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-30Update QML token-auth demoManuel Bachmann1-11/+13
Finalize migration of the QML "token" demo to the new "auth" plugin logic. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-30Fix PulseAudio refreshing, volume APIsManuel Bachmann1-8/+29
Refreshing PulseAudio info may have failed due to mainloops vanishing or conflicting. Volume values are now set/get as % values, as with the ALSA backend. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-29Adds documentationJosé Bollo7-69/+246
Also remove a old cmakefile Change-Id: I2748514934790043a15bb48d1d06bd82967d4494 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29redirect with the queryJosé Bollo3-20/+111
Change-Id: I36c6c6cbc62217ff0d79e004d9b40aa77e3fa0f4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29Merge branch 'master' of https://github.com/iotbzh/afb-daemonFulup Ar Foll19-154/+260
2016-05-29Première RelectureFulup Ar Foll3-330/+338
2016-05-29don't enforce to refresh the tokenJosé Bollo4-4/+16
Change-Id: I4257210371c4b809e93c174e00677a82c4b196c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29improves versionning of libafbwscJosé Bollo2-0/+6
Change-Id: I8046c738a7c4fd367d2d7ae6e8fe6fc84054dc06 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29improves documentation formatingJosé Bollo1-1/+1
Change-Id: I70902f6fa8c0381dd4a5eefb050a971ca2c80b12 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29rename afb-wsc to libafbwscJosé Bollo2-2/+2
Change-Id: I8609fcaff3f271f88cb4582675a404c88a9a41a5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29remove event sender interfaceJosé Bollo3-63/+11
Change-Id: I45735ccb4204821caecf89e3fdce08ec0a2471d7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29adds documentation for websocket C clientsJosé Bollo4-73/+213
Change-Id: I5507aeaf7669123eee16007af3d2fd3faeba8141 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29compact formatting of jsonJosé Bollo4-11/+11
Change-Id: Ieb839f287593240aac4d784483ff4c6e6cb57d84 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-28Clean up and documentationFulup Ar Foll1-60/+49
2016-05-28improve naming of sample pluginsJosé Bollo9-154/+40
Change-Id: I81cbb40c937bc087079d1605d163aea968bb9250 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-28Merge branch 'master' of https://github.com/iotbzh/afb-daemonFulup Ar Foll24-1097/+3137
2016-05-28Changed Login for ConnectFulup Ar Foll1-0/+129
2016-05-27improves documentationJosé Bollo4-41/+271
Change-Id: Ia86f95ee852ca0cc419b2fe6e796621e358c8b29 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27removes restriction on the count of waitersJosé Bollo1-16/+0
in fact, using more than on web socket, the same client (same session) can lock itself using wait and unlock itself using move... Change-Id: I4ebd8fa93d3373589e9bb7fac7c250e29f94c460 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>