aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03Improves naming of session's moduleJosé Bollo21-565/+565
Make names looking like other names Change-Id: I63ce3d8a3d84193eca9d517cecb1888d630a9b2d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03Removes uses of readdir_rJosé Bollo2-22/+26
Since glibc 2.24, readdir_r is deprecated. Change-Id: Id0e186e67b7e60bd537a8ba85ede446be0c5095e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03cleanup: removes legacy-named fileJosé Bollo7-43/+108
The file include/afb/afb-plugin.h was kept for compatibility with previous versions. Change-Id: If144803b5f56e9828ec78de5279520319bbc3342 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03Cleanup of the projectJosé Bollo21-3514/+0
The bindings "audio", "media" and "radio" were in the project since its beginning for historical reasons. But this bindings msut not be part of the current tree of sources. Change-Id: I9d903f094ddc4d2457e63987df0c221d2bd7b4d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03Adds 2017 to copyrightsJosé Bollo81-82/+82
Change-Id: Id85c4eb4e36a05b61346004ba95daa19faf5074f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-12-28Update gitreview file for master branchJan-Simon Möller1-1/+1
Change-Id: I44fea156e7dc5c5fb16ae16aad7529476b35d485 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-14main: Removes setting roothttp to . by defaultJosé Bollo1-5/+4
When option --roothttp is not set, the server will not serve HTTP files. Change-Id: I16e09f7ad6f735967cde27d5c51758499110fb54 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-12-14afb-hsrv: Adds an error when alias dir doesn't existJosé Bollo1-1/+1
Change-Id: Iab0f9b1997f6471ceab8bb43be07d6d00c53fd78 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-12-12fix html linkRonan1-1/+1
Change-Id: Iafcdcc919352c567bd097ee86aadae02e38c5415 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-09fix svg path for websiteRonan2-3/+3
Change-Id: I059fe29816c0cba1f423d02f5bc7034438843cac Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-12-05Fix typo, get diagrams pictures and reordering docRomain Forlot25-2781/+1353
Change-Id: Id8327460cf59b330283a98db8cef3a89ef505d30 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2016-11-17afb-api-so: adds verbosity on dlopen errorJosé Bollo1-1/+1
Change-Id: Ibe42a346c29e71b12d67ebbf43a6fc8152df8202 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-31api-so: cleanupJosé Bollo1-5/+0
The structure monitoring is not used anymore. Change-Id: I3b900f7b109b2549f0b4cf17550bb71c4b49d32d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-28hook: add few commentsJosé Bollo1-8/+13
Change-Id: I453625b70f13a5b01a84b2ac60eb6fb9e0dd0ebd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-28hook: adding of hook feature for requestsJosé Bollo7-1/+716
The current implementation is for hooking requests. It allows implementation of command line option for debugging. Further development is needed to also handle events and service API. Also a binding for debugging would be cool. Change-Id: Ib1ac4711180db7b4097ed92ebbbf1a1a9fd2cc1c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-14event: add ability to get the event nameJosé Bollo2-4/+23
Change-Id: Iecfeb4ab07c07715093d729710669abecee722de Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-10Threads: handles request with threadsJosé Bollo9-59/+582
This implementation handles all requests with threads. Later implementation could add a mechanism to choose what request will be handled by threads. Each API receive its requests in serial order without reentrancy. Here again, this can change in the future if a choice is possible to allow reentrant calls. The signal/event are not processed using threads in this version. It may change in the future. Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-07Explicit dependency on gcc 4.9 or higherJosé Bollo1-0/+3
Needed for _Thread_local keyword Change-Id: Ia68b2d25fd747b87d95a94ac383c0107b276cf2f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-07Fix a compiler errorJosé Bollo1-1/+1
Change-Id: Id95c612de55fe5606be945ac74c2c157620c8839 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-20minor: improves updt.sh scriptJosé Bollo1-0/+1
Change-Id: I0acc567bab126c6e8fef10b294eb0e362222ce5c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-20Documentation: improvementsJosé Bollo5-8/+220
- improves formatting of the documentation on events - add documentations of functions in headers Change-Id: Ie39d34fca8bd563a099f6b575c72e314ca08a29d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-19cleanup of old unuseful dataJosé Bollo3-242/+0
Change-Id: I849c615c4ff8d08ab170ca22c7d9038706099ff6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-19Improvement of the documentationJosé Bollo10-104/+879
Change-Id: I8f220d7508d939a16eba956ab1fdf975f4048332 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-15Ignore the SIGPIPEJosé Bollo1-0/+3
The default action is to stop the daemon. This is not the intended behaviour because the sriting errors are checked and EPIPE is treated. Change-Id: I9132b683e443825e4c056301a89bfad752a99e0c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-15afb-ws: fix of handling EAGAIN for websocketsJosé Bollo1-7/+15
Change-Id: I5a48bff9b1ce50adb48884ad15a9cfc7bd7a066d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-09-15afb-ws: handle EAGAIN return statusJosé Bollo1-4/+18
Change-Id: If325537e36a8db1a3f082fa211d619de7ddd478c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-31Add the option roothttpJosé Bollo4-8/+23
This option tells to the HTTP part of the binder the location of the root directory for HTTP. Change-Id: I080adcaaee952e375128eff3898f29332939c5f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-31bindings: adds ability to use data of applicationsJosé Bollo5-1/+110
The two new verbs 'afb_daemon_rootdir_get_fd' and 'afb_daemon_rootdir_open_locale' allow the bindings to retrieve its installed global data. Change-Id: I369997d9e59402a413a929aa650c48613f034183 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-31locale-root: improves the APIJosé Bollo3-50/+166
Change-Id: I470da7df049abab589d2c4044740cd54de0d35b4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-29afb-hsrv: expose locale root for aliasJosé Bollo2-9/+22
This prepare further use of locale_root here and ther in the code. Change-Id: I473e8de79db1cbd69b507f6e0e70733f0f02badc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-29MinorJosé Bollo1-1/+1
Change-Id: Id2758e83b59d6d8617e7f58635127fc436c9be5a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-29fix bug in reading socketJosé Bollo1-1/+1
Change-Id: I2f7daf847f59a450fafa5d7edf5f5984fdc15481 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-25enforce locale processing for filesJosé Bollo4-21/+125
Change-Id: I7de05d2acd02d088a3a2034ad8bccf524b5b6c12 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-25add algorithm to seek for locale filesJosé Bollo3-0/+821
Change-Id: Ie4355db29b157b13c4d93011337b15ca3e5d2571
2016-08-25adds accepted lang to global hreqJosé Bollo2-0/+2
Change-Id: I6b820e7ab169897259414276eaa0b1f8847d9229 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-25makes a function to ensure trailing slashJosé Bollo3-13/+24
This function is usefull to ensure that links to otherfile are epanded to directory/otherfile (not directoryotherfile!) Change-Id: If8ad1c275598b322516c41706b464d5d90067a8e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-25factorise code for alias handlingJosé Bollo1-15/+15
Change-Id: Ia60b50b1e4f859c2ee69919d5f63349af40865b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-09fix tiny memory leakblowfish_2.0.22.0.2José Bollo1-0/+1
Change-Id: I7ad19eeb73c613893682824d6becc500277d01d6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-08fix blocking readJosé Bollo1-0/+2
Change-Id: I7e39d4ce7c0f83e3398f344ade7e5114cf203efb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-08fix on_event for servicesJosé Bollo1-0/+1
Change-Id: Id90d53764016abc16db6f4d4fb68b9e16ba492fb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-08cleanup of unused variablesJosé Bollo1-8/+0
Change-Id: I895901fb5af2811d79a96aa0baa7981a5c9f9b3a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-08add validity functionsJosé Bollo2-0/+20
Change-Id: I56f4f6aebe673363c8b07c55f68ebbb1362b04fc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-07removing casts to (void*)blowfish_2.0.12.0.1José Bollo1-36/+61
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-07fix tiny memory leakJosé Bollo1-0/+1
Change-Id: I8183da55b6afb0e2d3035ebe8cf371b181ec4257 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-03removing casts to (void*)José Bollo1-18/+25
Change-Id: I34a4444c1fe8b9fa81c5319f53d154d6fe93916c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-03websocket transparancy for C/S bindingsJosé Bollo4-0/+1352
Change-Id: Ia78621ca4d3298fd45f3486ee64c3785c8ab6d8d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-03afb-ws: adds function afb_ws_is_connectedJosé Bollo2-0/+9
Change-Id: If7f3a2b9a724f28dbd3e4968347892d837ba875d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-03api-dbus: improves 'dbus_req_json'José Bollo1-1/+2
Change-Id: I6d63d70d30f02422e5f9904722e89f92358186b9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-02update bindings to the new namingJosé Bollo7-36/+36
Change-Id: I75692e7454ec9a863ef72c2bd35e3a8ff0f4c57d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-08-02adds vectored function for text and binaryJosé Bollo2-0/+31
Change-Id: I441624cf07fc783f54d1bc9613fee5f9b842e140 Signed-off-by: José Bollo <jose.bollo@iot.bzh>