summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-03-15doc: create documentationJosé Bollo15-174/+3017
Create more documentation about afm-main. Change-Id: I8b73017b666ac42da248df4219ec7abc08c7e877 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-02afm-util: add the afm-util scriptJosé Bollo2-0/+107
Change-Id: I2331eaa956eb2bf81a5cfbb68c1cb2be8166a4ef Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-02afm-db: commenting, bug fixing, improvingJosé Bollo1-174/+280
Change-Id: I208e8eb72c42231e077276fa61dd4ad5e952b2c4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-02utils-json: adds function for new array/objectJosé Bollo2-0/+22
Change-Id: I14168684cdfcae7ec0689eb45ab09aff82d66d22 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-02adding documentation about the frameworkJosé Bollo3-0/+481
Change-Id: I53a62ad639aaf3fbc618e144f82a6b53b19afe4a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15afm-run: fix bug in handling pidsJosé Bollo1-21/+24
Change-Id: If5d750a56ef7229769c46cc33d40faeb8ea76ece Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15afm-run: handles pids and terminates groupsJosé Bollo1-9/+12
Change-Id: I5c4c70fd1b9318d25d7b24394213f715d5e2fc78 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15afm-launch: refactoring launchJosé Bollo1-179/+92
The children process have now the same parent that is the daemon. Change-Id: Id09ec2e52e90873ea2993b4c7f631b53a4cb5520 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15conf: setting readyfd for afb-daemonJosé Bollo1-11/+12
Change-Id: I5c1fd99ae8d05bb468748a1d98773b397aeb4b0e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15afm-launch: add readyfd and improves typingJosé Bollo1-43/+61
Change-Id: Ib5e957f55e0e9b8be650742efab5a8480e51f72b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-15afm-launch: moves initialisation at bottomJosé Bollo1-16/+16
Change-Id: I8819baa899f2fa5070b0972fce17922e09d69c05 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-14afm-launch: fix warningsJosé Bollo1-1/+3
Change-Id: I7524edcf6a448efa14342d90e417d6046e84d29c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13conf: adds mode for the binderJosé Bollo1-3/+6
Change-Id: I6cd15a82fe5c9547afa3975300f26c42ba3b2283 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13afm-run: adds controlJosé Bollo1-0/+2
Change-Id: Iafe0d7c8cc9d9c43bd3e039ce0644d6580d8bdb2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13afm-launch: implement remote launchingJosé Bollo1-40/+155
Change-Id: Ic81c7473e6754073585af595fb328e2f3238d19c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13afm-launch: begins integration of modesJosé Bollo3-98/+192
Change-Id: I51b3659ca86c04f7276b4beb0e0863fa0e1d700d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13afm-user-daemon: prepare to launch with modeJosé Bollo8-27/+149
Change-Id: I0372eab2496c2fdb12144d68c0f041f5f1fd360e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13utils-json: some commentsJosé Bollo1-0/+20
Change-Id: I5271074c171d6c1fc74706546fc5a7a1073283d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-13afm-launch: refactor reading of config fileJosé Bollo1-73/+137
Change-Id: Ie902acb94861a729a6ff7f05d5c5d672b8294152 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-12afm-system-daemon: send signal before the answerJosé Bollo1-8/+6
Change-Id: I96a0886406235a8448e8f07b09a3cdd01aa29021 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-11service :set the capabilitiesJosé Bollo1-0/+3
Change-Id: I9722d6c6876fd872dccd9cb77f85b208c45e4b51 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-11wgtpkg-zip: fix bug of modesJosé Bollo1-2/+2
Change-Id: If6a31f5e308003b49b3c2fa9b8a05455a8ad553d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-11wgtpkg-zip: fix bug when file's size is zeroJosé Bollo1-1/+3
Change-Id: I0119f5855d5b09ff15e087289b13681ab7300110 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-11utils-json: refactoringJosé Bollo4-49/+79
Change-Id: Ie8b49279e727afdbce7b9ea74c767d560c93af32 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-09utils-jbus: fix bug that blockedJosé Bollo1-0/+3
Change-Id: Icabab6e070b4c4b8e1357b199daf995c47090ad3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-09afm-launch: commits conf fileJosé Bollo2-58/+19
Change-Id: Ibf1354b444a945b22f90ca53be5b7c7eab1a688a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-08adds config file for launchersJosé Bollo6-38/+239
Change-Id: Ibbedefcdedbfc7f6fe7c89f8e8f32d022a93ca19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-05afm-user-daemon: restart automaticallyJosé Bollo1-0/+2
Change-Id: Icb4b6cd1612518dcf52ece7f1c762a18b1b7e2d4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-05afm-system-daemon: fix signalingJosé Bollo1-19/+19
Change-Id: If225a38efbd1809a623d2cf54b125a6ba94fd095 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-05utils-json: fix crashJosé Bollo1-1/+1
Change-Id: Ie3f38f8c9c0449c3ea28eafec358bdc81ae40b32 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-05wgtpkg-zip: fix bug when file's size is zeroJosé Bollo1-12/+2
Change-Id: Id0b58a81f4ec73d21aface1a7da9da897fc5eea9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04Adding uninstallation of widgetsJosé Bollo8-10/+176
Change-Id: I8558a77312590181de5313c89ea4c9bdb9b477c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04Adding utils-jsonJosé Bollo6-183/+207
This provides facilities for handling json. Change-Id: I325d5685ded745721a1801267b9c53beb974385c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04afm-launch: removes a fatal warningJosé Bollo1-0/+1
Change-Id: I9f67b3f07c9df990bb05b335261213897aaa18cb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04utils-jbus: handles EINTRJosé Bollo1-3/+8
Change-Id: If89cc876dee54f21402cd7989ca43d0d91dd8f92 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04afm-user-daemon: adds verbose infoJosé Bollo4-19/+40
Change-Id: I9195b2b10124b573be90ed4b754f7fe0ae5595ac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04launch: fix rootdir for afb-daemonJosé Bollo1-1/+1
Change-Id: I2c975229aaf68ce82fc045a4aaffb4853869bc3d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04utils-dbus: fix un initialised statusJosé Bollo1-1/+3
Change-Id: I6384b88ee60530d44c01f98022b43976eb212bfc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-02-04user-daemon: propagate install/uninstallJosé Bollo1-1/+23
The propagation to system bus is less efficient than the direct call but it consumes less resources for a feature that is not frequent. Change-Id: I08c075229648dad4b17878dbb3af93e0e4851de5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-25utils-jbus: implments multiple bus handlingJosé Bollo3-32/+168
Change-Id: I3c40b27448000fda800e2a3d98210eb6c11bb969 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-25launch: removes deamonizing afb-daemonJosé Bollo1-1/+0
Change-Id: I7de57bae559842138078d450e981de6ae8f7c1e5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-24launch: counter effect of set-gidJosé Bollo2-1/+24
Change-Id: I9430737c7d86cf6f7a14463f918af36314e41ec9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-22launch: launch the binder as a daemonJosé Bollo1-0/+1
This avoid the message "AFB:notice Use Ctrl-C to quit" Change-Id: I7ff255890a2997fb78fe8d1467047e9bc3f713ae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-22launch: new web runtime binaryJosé Bollo1-1/+1
The binary for the web runtime is now fixed to /usr/bin/web-runtime. It will receive just one argumant: the HTTP url of the binder serving the application. Change-Id: Iea803f19afafc2fc703db71faaaa64a817b10269 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-22secmgr: ensure that unknown error existJosé Bollo1-1/+1
Change-Id: I82650b1dbd1cb47f9d5d20146b013e18667da6cc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-22launch: fix error when pipe is brokenJosé Bollo1-5/+4
Change-Id: I41d0125dbbd8552f044add81b345a04a0f4fe8ac Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-21config: refactoring user serviceJosé Bollo1-5/+4
This improves the user service definition by setting its type to dbus. It removes the group feature. Is it temporary? Don't know it currently. Change-Id: I9eb5751813d5d7e699c5502d6d6f810cea5f8473 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-13Fix a crash when connection to dbus failsJosé Bollo1-2/+2
Change-Id: Ie3caca52b7b7f92cb4da4641d2884c7606444784 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-06use the correct dbus directory for sessionJosé Bollo1-1/+1
Change-Id: I6a0816f82c8658741df5dc9dfcb8b523c42d6fe7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-01-05documentingJosé Bollo1-13/+182
Change-Id: I592074b392ecf75e4964756e3eed72f09652f0b4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>