summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2019-09-13Revert "Make source files relative"José Bollo1-1/+0
This reverts commit 45a4e69d4ef15c70d2b74ea4d0d2e4cd22e3adea. Revert looks good because the issue has to be adressed by the build environment. Bug-AGL: SPEC-2801 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: Id2f1f3890b5965e0a28f189834c758be5bd08d55
2019-09-10Make source files relativeJosé Bollo1-0/+1
It is intended to enhance reproducibility of produced binaries as unmeaning prefixes are removed. Bug-AGL: SPEC-2801 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: I6a7ee9fa2ce4a744f7a5ef8a3c9886cd6a9f15e9
2019-07-23supervisor: Setup services for local API useJosé Bollo1-0/+2
The supervisor only allowed external accesses. This was wrong, it must also allow local access through standard API. This commit fix it. Bug-AGL: SPEC-2660 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: Ifa1119a6b2f22c87b1dbe087206d9f51c4005a57
2019-07-01Fix warning when compiling with clangLoïc Collignon1-1/+5
The 'maybe-uninitialized' warning option is a GCC's only flag. The equivalent one for Clang is 'possible-uninitialized'. Added the right flag based on the compiler. Bug-AGL: SPEC-2584 Change-Id: I09ce434dfda21996cefbf0b527b43d666a042e0e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-30Allow to tune installation directoriesJosé Bollo1-3/+3
The location of intrinsic bindings and samples could not be tuned but was fixed to be ${CMAKE_INSTALL_FULL_LIBDIR}/afb and ${CMAKE_INSTALL_FULL_DATADIR}/af-binder These default locations are not bad but it is important to be able to tune that location. Bug-AGL: SPEC-2367 Change-Id: I4d4f9e9490d61e3278ef35ac42f2143a752a7c37 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-12Reordering of sample and tutorial bindingsJosé Bollo1-0/+1
The main idea here is to install the sample and tutorial bindings in specific directory. This will at the end help to package parts of the binder. It also includes a simplification of CMakeLists files. Also fix an error in packaging rpm. Bug-AGL: SPEC-2165 Change-Id: I494cc753796848cde849de1c3596893c78fa228f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-02Add conditionnal support of dynamic bindingsJose Bollo1-4/+0
The load of dynamic bindings becomes removable. This is a step in direction of a tiny binder library. Also refactor AGL_DEVEL Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Change-Id: If283f431fd8a831429e717b2770464cb54476dc7
2019-04-02Improve setting of optionsJose Bollo1-6/+8
Change-Id: Idbadb9b7b801cb61d527addb5d3137aeb4cf6311 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2019-04-02evmgr: Fix a "maybe uninitialized" issueJosé Bollo1-4/+4
The warning maybe-uninitialized is emited only when the optimisation level is greater than 0. For this reason, the error was not discovered development process. The build config is tuned to detect that error and the error is fixed. Change-Id: I14c8ffe6daa3d498268cfadeab20300895b3360e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-03-07Upgrade dependency to libmicrohttpd version 0.9.60José Bollo1-1/+1
The version of libmicrohttpd required is 0.9.60 at least. Change-Id: Ia0784f5433d63d4de50654dd7577a8767578c069 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-06Update copyright datehalibut_7.90.0halibut/7.90.07.90.0José Bollo1-1/+1
Change-Id: I3aaa92b2bfb01699ee8ae609272e93032b6f1a9d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-02-06Set next version of binderJosé Bollo1-1/+1
Change-Id: I53c43380902f96b7a46a6a131a956965d7cf6fbc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-09-13CMakeLists: Use AGLVERSION if setJosé Bollo1-1/+2
And default the version to the next version of AGL pre-guppy: 6.90.0 Change-Id: I5955add9307dd2d07a071383950839f1137e7705 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-09-06VERSION 5.99.FFRC6Jose Bollo1-1/+1
Also add newline at end of .gitreview Change-Id: I826ecaf695a40dd883a690125fe8e2bffce1cd87 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-22Set version to 5.99.FFRC4José Bollo1-1/+1
Change-Id: I8404d2cc83624eae755c39175e3096e024f30e24 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-17Set version to 5.99.FFRC3José Bollo1-1/+1
Change-Id: Ia735f23a473849d130992c32c312213533311736 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-07-06Update version to 5.99.FFRC2José Bollo1-1/+1
Change-Id: I42bdaff39ac5f91c21bee4e4f9ff089ee3040a5b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-15api-v3: First draftJosé Bollo1-1/+4
This commit introduces the bindings v3 API for bindings. The documentation has still to be improved and will come very soon. Change-Id: I8f9007370e29f671fdfd1da87fff7372a17db7af Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-13Make DBUS transparency optional (off by default)José Bollo1-1/+2
The implementation of API transparency through DBUS is not used at the moment. To improve independancy to systemd (it relies on systemd library) removing it should be possible. Change-Id: I5750a92527dc3e9cf7dcd27625dce6a020797a3d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-06-13afs-supervisor: Fix typoJosé Bollo1-2/+4
Change-Id: Icc3c15f577f04117cdfaf2bcbcc4d15a99d02138 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-05-03CMakeLists: Fix c++ buildRonan Le Martret1-0/+1
On debian, for example, we need to specify C14 compatibility Change-Id: I4fd4d6dbca03d085def61e373617ab5336ebcb0b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-02-27Update date of copyright noticesJosé Bollo1-1/+1
Change-Id: If9d7e7728df086fbb7214f1de5cbec35cd2f1d9b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-26afs-supervisor: Add systemd service and configJosé Bollo1-0/+17
Change-Id: I64bf8de01dbb8cf9581ed0be358d81fa84106520 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-02-21Bump version to 5.99-FFRC0José Bollo1-1/+1
Change-Id: I58829d86b871260538ce40d4be8480849d7f4b80 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-20CMAKE: refactor optionseel_4.99.3eel/4.99.34.99.3José Bollo1-32/+37
The option ALLOW_NO_BINDER is removed and the option ONLY_DEVTOOLS is introduced. Change-Id: Ia19eb977ee25a3871582605028fdef75e552363f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-17CMAKE: allow to compile afb-genskel onlyJosé Bollo1-12/+33
When missing components are detected, allows to not compile the binder if ALLOW_NO_BINDER is ON Change-Id: I0fb27844e3f36d4dd643bdf250f05b4f6769bc53 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-11libafbwsc: add function 'afb_ws_client_connect_api'José Bollo1-1/+1
This function allows to connect to an API exported by the binder. The demo program afb-client-demo is modified to integrate on option that direct API connection. Example: server: afb-daemon --ws-server unix:hello client: afb-client-demo -d -H unix:hello Change-Id: Id9f857a453c406df1c4b36eb25fb5e833a938c3d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-10Remove explicit Debug build typeJosé Bollo1-3/+0
Change-Id: Ib9a793035b36ddf6f4c7cff2b814ba37bf662861 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-09Add C++ interfaceJosé Bollo1-1/+1
Change-Id: I05e104e4733d071949723073d32b21c22089ecdf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-19Bump version to 4.99-EERC1José Bollo1-1/+1
Change-Id: I693e67cbdcd397ed1f41a049c99f4e72000b1495 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-07Update the url of the projectJosé Bollo1-1/+1
Change-Id: Iebaa2c4f133873a3fb163fa2806c68ec03831f00 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-07Set Version 4.1José Bollo1-5/+8
Change-Id: I752ab6fa12de2d3a3b739c5d090d56222d0ac457 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29Rework CMakeList.txtJosé Bollo1-0/+9
Explicit options and add a definition for AGL_DEVEL Change-Id: I8419f0b0dfecc1e0171c282573cdf32ae3f09704 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-28monitor: disable monitoring by defaultStephane Desneux1-1/+0
Change-Id: I8e76e9c184dd913a5040578366c8783ac4b3efaa Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-08-28fix typoStephane Desneux1-1/+1
Change-Id: Ifb2de3c13f814f16f23ead9357f4fec97b3e675c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-08-27monitoring: Add option --monitoringJosé Bollo1-0/+14
Installs basic interface for monitoring and add the option --monitoring / -M to activate the alias /monitoring. This makes the page /monitoring/monitor.html available. Change-Id: Iebe0959f0a5e7c396fe7ce6862d0f9c883733824 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-03update libmicrohttpd to 0.9.55José Bollo1-1/+1
Change-Id: I47e00996d57eae29e846759cbb53d93c2803da6c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-05-29Add warning on missing undefined symbolsJosé Bollo1-1/+1
Change-Id: I0ebe3b222cc5f0add9c9d433c0517af4e1910911 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-05-29Moves library resolution on top (hack)José Bollo1-4/+41
Avoid to tune executable byu executable. Should be redefined later. Change-Id: I02e55e642c1797768b7dbcd8406f59199a56891d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-05-19Fix cmake dependencydab_3.99.1dab/3.99.13.99.1Ronan Le Martret1-1/+1
* update documentation (get libmicrohttpd>=0.9.54 from upstream). Change-Id: I361708fecd3b670dba0f32230fa3bcbd86fa9c55 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-25cleanupJosé Bollo1-1/+0
Change-Id: Ia49afc6c7d70da676ac9ea6b493a23fc3756a482 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-04-05Add permission subsystemJosé Bollo1-0/+1
Change-Id: I0bbbf55832faf6413dd6147174934d0d4dc5277d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-04-04Improve debugging optionsJosé Bollo1-9/+1
Change-Id: I3550a4c2500b98efa985e678217e3d91bc8ca4c6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-01-03cleanup: removes legacy-named fileJosé Bollo1-0/+18
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>
2016-06-23vocabulary: moving from 'plugin' to 'binding'José Bollo1-2/+2
Change-Id: Ic9e118df2bede1fefbb591f8ae7887266b7324ca Signed-off-by: José Bollo <jose.bollo@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-29improves versionning of libafbwscJosé Bollo1-0/+3
Change-Id: I8046c738a7c4fd367d2d7ae6e8fe6fc84054dc06 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-29rename afb-wsc to libafbwscJosé Bollo1-2/+2
Change-Id: I8609fcaff3f271f88cb4582675a404c88a9a41a5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-27Adds the library libafbwsc.soJosé Bollo1-1/+3
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-27remove unuseful flagsJosé Bollo1-1/+0
Change-Id: I1ae220cc7621647b0cbe1fa6ea4a21619b8fc52c Signed-off-by: José Bollo <jose.bollo@iot.bzh>