summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-04-21manages reference counting for eventsJosé Bollo2-2/+4
Events are sent to an unknown count of receivers. For this reason, the function push should not consume the json object given. Change-Id: Ie6c60074bd3822e7107d670f905cc86f56f826bf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21websocket implementing cleanupJosé Bollo2-18/+12
Change-Id: I85ee8eb60ef5d37ce1a82044ae317d2a17d3bec8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21websocket refactoringJosé Bollo4-92/+273
Change-Id: Ia39ec6c01ce1fc6b3921b0433ab872d47ebdbbc4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21handles closing in callbacksJosé Bollo1-10/+19
Change-Id: I7c12c31957794910cd92fdfe74257e6faae8770a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21improves decoupling from afbJosé Bollo1-35/+54
Change-Id: If7fb9445e01edaa635cf78cb60237f623f749481 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21handles disconnectionJosé Bollo1-1/+6
Change-Id: I0fce95b5ff4de8e826ceb4da1bc2ac86f21d70b1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-21refactoring websockects low-levelJosé Bollo3-101/+127
Change-Id: Id0e2952fb61dba0415698642d9eb907f83e18d5b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-20javascript reference with promise and eventJosé Bollo2-20/+48
Change-Id: I77633c0be2338ce4d03f84884462836604d932c8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-20better handling of multiple casesJosé Bollo1-3/+0
Change-Id: Id3f92fb10d33773701bbaca32353546d295170ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-20makes common code unicJosé Bollo5-60/+117
Change-Id: I22de2429c57c1329802b0e5783c725b7b475de79 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19initial event handlerJosé Bollo7-12/+199
Change-Id: Idb92d6de9904d050b37ef0a5d664e82573ff640d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19refactoring context handlingJosé Bollo12-111/+97
Change-Id: I0e5a900efbd94b66f309ff4d0d49a6406585203f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19temporarily removal of unbuildablesJosé Bollo2-3/+37
Change-Id: Ic67506010cbce922476552f35411a92940056eb4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-19prepares event propagationJosé Bollo10-75/+163
Change-Id: Ib824c6dea1837cc1cbb70a2c82363c9b0a0517d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18improves formattingJosé Bollo1-12/+19
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-18changing the license to apache 2José Bollo23-251/+214
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-17set download pathJosé Bollo3-1/+49
Change-Id: Ib42157297a868056ab20338b806cc06e5322b274 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-17cleaner http handling in mainJosé Bollo1-60/+62
Change-Id: I3e13b73910217082f32c5775adefb643b3a91baf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-15fix use of libmagicJosé Bollo1-8/+8
Change-Id: Ic772bf327b45f4ad74095d57a8e29a28663aa3d0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-15use upoll for event loopJosé Bollo25-746/+1550
also add '#pragma once' in headers Change-Id: I90cc2d53ec60d4d1e66cf0f229109621e4019864 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-14renamingsJosé Bollo2-90/+70
Change-Id: Ic4220708e010518c1cb13254bfbcfe7c9d034496 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-14removes use of printfJosé Bollo3-8/+8
Change-Id: I635e236e102837256c77fd4379ef9b11d850a4de Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-14only one contextJosé Bollo2-7/+7
Change-Id: Idd27b7d5a1ecd1925d4777e2d311110590f45a5e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08proposal for a new js interfaceJosé Bollo3-0/+172
Change-Id: Icd9908fa976bf0020eff5ad25995bad1771bfa98 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08enforce creation of contextesJosé Bollo1-2/+4
Change-Id: I5278cf0f73a417c98d2cd4c3572efed39766b2d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08simplificationJosé Bollo1-13/+2
Change-Id: I02a107da2908f62dd10b09c3d765a0e0dd48983e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08restoring cookie of sessionJosé Bollo5-51/+111
Change-Id: I3bd1ba1827dee5a16dd927154f802689894cc6a3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08clean request dataJosé Bollo1-0/+5
Change-Id: I97d82de29374dcb9e576eef2dcd358698845226f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08refactoring req interfaceJosé Bollo11-202/+304
Change-Id: I6fc9246099c34f62c82e060cf014a63b0e8f63d8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08new websocket handlingJosé Bollo6-422/+84
Change-Id: I71fc5ff0412af6badce77485c98016916c56d235 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-08refactored websocketsJosé Bollo8-263/+514
Change-Id: Ic41efc1cd0b89d183c5ed36182da989548be1c8d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07typoJosé Bollo2-5/+1
Change-Id: I95bb55bcbd55b034bf6d24116334a61ab262fac5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07improves websocketsJosé Bollo6-47/+481
Change-Id: I5b941a043838d438c0acc31623ce9361fa742f35 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07minorJosé Bollo1-6/+6
Change-Id: I25e8fd32146af4c1986d25dd9dbf4085c06400b7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07split api handlingJosé Bollo13-378/+560
Change-Id: If0a8fd7e74dacdf9defb3cc9da4a6ae79c34a190 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07more simplificationJosé Bollo9-285/+289
Change-Id: Iab4a9c38054a3e85542893735916aa11031dc4ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07simplificationsJosé Bollo6-107/+137
Change-Id: Id4ee2dab8d971d27ae5ceebac030f0b2b35d59a8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07improves index.html handlingJosé Bollo1-9/+18
Change-Id: I5209fafe92dcf77a2ae8e2a2431ab01c5d8f5df9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07fix parameters without valueJosé Bollo1-2/+2
Change-Id: I104186ab681ebcc3198ad9e57894a0652a0901dc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07fix file postingJosé Bollo4-31/+9
Change-Id: If7e0aa3122af3a308a8441b518021f8a5cbe9473 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-07improves file handlingJosé Bollo8-100/+57
Change-Id: I285cb6333d939a8afed07d8388d1d7850e50fe28 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06upload of filesJosé Bollo5-93/+119
Change-Id: Ifbe226ddc11f67223b4215db66af1ad1108a11f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06Radio plugin: make partially compatible with new APIManuel Bachmann4-61/+77
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-06improve the websock testJosé Bollo1-1/+5
Change-Id: Ibaa232dfd42b0dc060a09b042ab2879b13b6b8ab Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06make a sigv even in releaseJosé Bollo1-6/+1
Change-Id: Id54965016abbe749121c43ec675c6aeb06f5610e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06fix uninitialized field (valgrind)José Bollo1-0/+1
Change-Id: I2df2a37335e68e90836205b44a563fed5dface75 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06fix a memory leakJosé Bollo1-4/+1
Change-Id: I6822dfae11cacc49d14097f4bc43c3da5846b34c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-06websocket first version worksJosé Bollo7-57/+188
Change-Id: I4db7d432ea5921636bb5033b8d31e91475cecc52 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05update cmakeJosé Bollo1-2/+2
Change-Id: I1e935beee4658aedd45ec7cf914026f7614e7483 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-04-05Merge branch 'master' of github.com:iotbzh/afb-daemonJosé Bollo8-101/+127