aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-06-13Service instanciationJosé Bollo9-1/+381
Adds the ability for a service to initiate calls to other services and to receive events in its own context. Change-Id: I5ff149a0231e551e9ce8a8de9658cb492a38cae1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-10subcall: adds an error functionJosé Bollo2-1/+12
Change-Id: I9f766c4b880cc741392e5c33b58a2723b5a6f4ef Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-10session: allows individual timeoutJosé Bollo1-2/+11
Change-Id: Ibc3412c5a5dd50c23a7b035941d4aed278b62039 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-10session: tiny refactor of creationsJosé Bollo2-24/+50
Change-Id: Ie4bc15448203621d0f84c9be6f57c68cc88983b4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-10improves readabilityJosé Bollo1-56/+79
Change-Id: I27411163aff0ecedad4019094f4a5c46d5a2c342 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-10common code reuseJosé Bollo5-38/+26
Change-Id: I5f400a92165bb380ec5f703dd8ca567e90aebca2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-06-10Improves documentationJosé Bollo13-61/+181
The script updt.sh is revisited to generate better the meta data. The format of events is documented. Change-Id: I3bb7347f3ac0f660196a25a4c0c0432848fe4168 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>