src/app-framework-main.git
8 years agocleanup of the code
José Bollo [Mon, 12 Sep 2016 13:21:19 +0000 (15:21 +0200)]
cleanup of the code

The lines removed were not used and were in conflict with
future developements.

Change-Id: Ib1cc2d4e8ef18b37f9b68066258d002062db4eb6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoFix installation of more than one widget
José Bollo [Mon, 12 Sep 2016 13:20:06 +0000 (15:20 +0200)]
Fix installation of more than one widget

Using command line tool, it is possible to install
more than just one widget. Before this commit, the
list of requested permission was not cleaned.

Change-Id: Ic9311754f51f12d6231d1f08a55eb4b4aef0c74e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoAvoid to exit in setting permission list
José Bollo [Mon, 12 Sep 2016 12:52:30 +0000 (14:52 +0200)]
Avoid to exit in setting permission list

Change-Id: I623546a8c134b54f7b62b42a980f603202e42868
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoadd documentation & ideas about config.xml
José Bollo [Mon, 12 Sep 2016 12:08:33 +0000 (14:08 +0200)]
add documentation & ideas about config.xml

Also enforce the strings for 'id' and 'version' to be not
empty in config.xml

Change-Id: I510b62891885033e0b750fac5f5de5e0fd25d75d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoUse of the new 'roothttp' option
José Bollo [Wed, 31 Aug 2016 12:44:04 +0000 (14:44 +0200)]
Use of the new 'roothttp' option

The new option 'roothttp' set the root directory that the
HTTP part of the binder serves. Its default value is ".".

Using this option, the content accessible through HTTP can be
a subdirectory of the root and in the same time, the application
data are available in the root directory.

Change-Id: I30d5f78eb2fe500b840fe0f4869d3e54be69c3cf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoconfig: allows "standard" types 43/6143/2 2.0.1 2.0.2 blowfish_2.0.1 blowfish_2.0.2
José Bollo [Tue, 19 Jul 2016 08:43:54 +0000 (10:43 +0200)]
config: allows "standard" types

The standard types for HTML (text/html) and QML (text/vnd.qt.qml)
should be available.

This is needed for 3 reasons:
 - installing existing demos
 - installing almost standard HTML widgets
 - the current default type is text/html

Change-Id: I9fa418b1c995663ac4120d3e0bdb42def3ab166e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch.conf: handle URL, native, QML and hybrid types 25/6125/1
Manuel Bachmann [Fri, 15 Jul 2016 10:30:02 +0000 (10:30 +0000)]
afm-launch.conf: handle URL, native, QML and hybrid types

Provide a generic layout for all the application types and
usecases that developers may want to use, and that we are
going to provide as templates.

Change-Id: I3f8100a16ea64262e0cb7a0e1ee38a24eab776e8
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoafm-launch.conf: handle services through application/vnd.agl.service mimetype
Stephane Desneux [Sun, 10 Jul 2016 12:58:19 +0000 (14:58 +0200)]
afm-launch.conf: handle services through application/vnd.agl.service mimetype

Change-Id: Icb19b5d5036168b3e74f8e684ec4a2909d0feeb7
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agocmake: handle build for SDK
Stephane Desneux [Fri, 8 Jul 2016 17:22:22 +0000 (19:22 +0200)]
cmake: handle build for SDK

When building for SDK, only the wgtpkg tools should be built

Change-Id: I2f935bae1b26d1d0e8b9513ade85703f8f49cf9d
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoupgrading documentation to new usage
José Bollo [Fri, 24 Jun 2016 14:07:04 +0000 (16:07 +0200)]
upgrading documentation to new usage

Change-Id: I5fbee7ba7ec929f6bcc02ffac7202059df02aa29
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoimproves the documentation
José Bollo [Fri, 24 Jun 2016 13:44:24 +0000 (15:44 +0200)]
improves the documentation

Change-Id: Ieea284220b2b088bf460093f745e8f5fb3633eca
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoimproves help message
José Bollo [Fri, 24 Jun 2016 13:43:56 +0000 (15:43 +0200)]
improves help message

Change-Id: I2bc1f268bf967a46571831572b99506df31ed6da
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoadds certificates
José Bollo [Fri, 24 Jun 2016 12:26:46 +0000 (14:26 +0200)]
adds certificates

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoimproves naming using 'binding'
José Bollo [Fri, 24 Jun 2016 12:04:37 +0000 (14:04 +0200)]
improves naming using 'binding'

Change-Id: I535e01ce4a8dd1e16637e61c6624b4f37639b2f7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoimproves verbose messages
José Bollo [Fri, 24 Jun 2016 11:58:00 +0000 (13:58 +0200)]
improves verbose messages

Change-Id: I5831628aedb3adb6b1f917f1945b45e995be5321
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agocleanup
José Bollo [Fri, 24 Jun 2016 09:48:27 +0000 (11:48 +0200)]
cleanup

Change-Id: I8041d3ffa0c8f403935874a8162f0dbc9c356e7a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agobinding: report errors correctly
José Bollo [Thu, 23 Jun 2016 20:03:27 +0000 (22:03 +0200)]
binding: report errors correctly

Change-Id: I160cff69ca344ac59df5e8bd9a29b936e8b11797
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agovocabulary: moving from 'plugin' to 'binding'
José Bollo [Thu, 23 Jun 2016 18:49:28 +0000 (20:49 +0200)]
vocabulary: moving from 'plugin' to 'binding'

Change-Id: I89b7c0adc93ec6f9b97ee168b4a12651c72009ab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodoc: add IoT styled tutorial in html
Stephane Desneux [Thu, 23 Jun 2016 14:21:37 +0000 (16:21 +0200)]
doc: add IoT styled tutorial in html

Change-Id: I95289a77bb2c85c17f846f0492d45f8a5564a5b9
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoadd .gitreview 65/5965/1
José Bollo [Thu, 23 Jun 2016 12:48:38 +0000 (14:48 +0200)]
add .gitreview

Change-Id: I88cfb8fcc1a0129294a1a55909c86a07d374c995
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agofull asynchronous binding 63/5963/1
jobol [Tue, 14 Jun 2016 13:57:04 +0000 (15:57 +0200)]
full asynchronous binding

Signed-off-by: jobol <jose.bollo@iot.bzh>
8 years agodoc: add new document quick-tutorial 1.0
Stephane Desneux [Wed, 8 Jun 2016 21:40:18 +0000 (23:40 +0200)]
doc: add new document quick-tutorial

Change-Id: I624417d3240504a763b5b45e98ba8f06d5de03e5
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoset version 1.0
José Bollo [Tue, 31 May 2016 13:07:16 +0000 (15:07 +0200)]
set version 1.0

Change-Id: Ie73f6c6e16855f7502c982c994766b58015ebd3d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agogenerates html
José Bollo [Mon, 30 May 2016 15:04:12 +0000 (17:04 +0200)]
generates html

Change-Id: I038559954c3713f467008c48603e26012eeda300
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoWidget Doc
Fulup Ar Foll [Mon, 30 May 2016 15:02:20 +0000 (17:02 +0200)]
Widget Doc

8 years agoDocumentation Review
Fulup Ar Foll [Mon, 30 May 2016 14:07:31 +0000 (16:07 +0200)]
Documentation Review

Change-Id: I5574584b820f3b4537a9cef1f9f64d0517590883

8 years agoimproves documentation formatting
José Bollo [Sun, 29 May 2016 08:11:06 +0000 (10:11 +0200)]
improves documentation formatting

Change-Id: I819dfdc98dab5fc75c8858b2afb1484e8d6b3b5a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agosimplification of event broadcasting
José Bollo [Sun, 29 May 2016 06:07:40 +0000 (08:07 +0200)]
simplification of event broadcasting

Change-Id: I12398731863c131bb5943f22b5807acef18b8164
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agobackport to cmake 3.3
José Bollo [Thu, 19 May 2016 13:41:23 +0000 (15:41 +0200)]
backport to cmake 3.3

Change-Id: I3c5c0670da70e2ed6adf425bf645bc2266e96308
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoimproves .gitignore
José Bollo [Thu, 19 May 2016 12:11:55 +0000 (14:11 +0200)]
improves .gitignore

Change-Id: Ife323f5fafc73fb046cccda4914bae9f5c1bfc98
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-main-plugin: plugin for afb
José Bollo [Thu, 19 May 2016 12:06:32 +0000 (14:06 +0200)]
afm-main-plugin: plugin for afb

Change-Id: I39868b5c1076a995bbb10a984a2a0651579da30b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoexplicit link to json-c
José Bollo [Wed, 11 May 2016 07:43:17 +0000 (09:43 +0200)]
explicit link to json-c

Change-Id: I162f13c51e4ea760adc5c7358ca54dd059d592bc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoupgrade to use systemd
José Bollo [Tue, 10 May 2016 21:36:26 +0000 (23:36 +0200)]
upgrade to use systemd

Change-Id: Ic07116882d572af7e9b4618e2cf1fce55b997453
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoswitch to sd-daemon logging
José Bollo [Tue, 10 May 2016 20:43:46 +0000 (22:43 +0200)]
switch to sd-daemon logging

Change-Id: I6f1eea5e78da61b29367a0748ba4318cea5ebc54
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agofix typo
José Bollo [Tue, 10 May 2016 20:03:53 +0000 (22:03 +0200)]
fix typo

Change-Id: If0faad0e28ab4de1fc8511dc9eeee7c7ec0c41d1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agocleaner cleanup
José Bollo [Thu, 21 Apr 2016 16:02:51 +0000 (18:02 +0200)]
cleaner cleanup

Change-Id: I5c7db64bcaf0757db33e3b96cf12890d98ef87a1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-util: fix incorrect DBUS_SESSION_BUS_ADDRESS syntax
Manuel Bachmann [Thu, 7 Apr 2016 16:36:18 +0000 (16:36 +0000)]
afm-util: fix incorrect DBUS_SESSION_BUS_ADDRESS syntax

The previous ":=" syntax would not work with "/bin/sh" or
"/bin/bash". Make sure we export it, too.

Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
8 years agoutils-jbus: adding comments
José Bollo [Mon, 21 Mar 2016 16:19:20 +0000 (17:19 +0100)]
utils-jbus: adding comments

Also add a line in TODO list, minor refactoring,
insert a remider about NDEBUG.

Change-Id: I3d80dad7b6903df70c0fca2ef7256c158ecb3355
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodoc: more documentation
José Bollo [Fri, 18 Mar 2016 16:29:08 +0000 (17:29 +0100)]
doc: more documentation

Change-Id: I34d3442e928e310608800d3325f0547872ec21ff
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agocmake: improves error detection
José Bollo [Wed, 16 Mar 2016 15:05:28 +0000 (16:05 +0100)]
cmake: improves error detection

Add detection of problem of cast.
The problems are corrected in the patch.

Change-Id: I8dc1e987531790860e390dea53ddf49d52339cb2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-user-daemon: use new closure behaviour
José Bollo [Wed, 16 Mar 2016 15:06:09 +0000 (16:06 +0100)]
afm-user-daemon: use new closure behaviour

Change-Id: I67b4904251d2525ff98c3fcf7803880eab7e6db4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoTODO: updated
José Bollo [Wed, 16 Mar 2016 15:04:55 +0000 (16:04 +0100)]
TODO: updated

Change-Id: Id5a02bd0b8c87d8c67b244234de40a51db1b14c6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-jbus: adds closure
José Bollo [Tue, 15 Mar 2016 13:17:14 +0000 (14:17 +0100)]
utils-jbus: adds closure

Change-Id: I14466dee08429c404de400868967d8d97b2ba359
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-user-daemon: comments
José Bollo [Tue, 15 Mar 2016 10:14:21 +0000 (11:14 +0100)]
afm-user-daemon: comments

Change-Id: I464404029c3ef4a1572a48d67d370aec529e8b3b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: comments and improvements
José Bollo [Tue, 15 Mar 2016 10:10:27 +0000 (11:10 +0100)]
afm-launch: comments and improvements

Change-Id: I1b0745dfe659d26efdcd686b117fd7d64ed3a440
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: remove unused tag field
José Bollo [Tue, 15 Mar 2016 09:55:21 +0000 (10:55 +0100)]
afm-launch: remove unused tag field

Change-Id: I68377aa4255f4aeff4e190eb0f7a31b26c2f5259
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-run: improvement and comments
José Bollo [Tue, 15 Mar 2016 09:28:33 +0000 (10:28 +0100)]
afm-run: improvement and comments

Change-Id: I7eee1d6033e645269fe89d17dd9d75c063ed4551
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-db: added comments
José Bollo [Tue, 15 Mar 2016 09:26:03 +0000 (10:26 +0100)]
afm-db: added comments

Change-Id: Ic6def823eb5a15720286a442a8a654aa73ee9266
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-jbus: improved tokenizing and creation
José Bollo [Tue, 15 Mar 2016 09:23:04 +0000 (10:23 +0100)]
utils-jbus: improved tokenizing and creation

Change-Id: Ia0eb45a0cfb8810e41239b52f7f0b7b7d56655a5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agowgt: add comments
José Bollo [Tue, 15 Mar 2016 09:13:13 +0000 (10:13 +0100)]
wgt: add comments

Change-Id: I60a592aff0e11b8392a074348688c998e3117265
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoREADME: add a readme for src
José Bollo [Tue, 15 Mar 2016 09:00:55 +0000 (10:00 +0100)]
README: add a readme for src

Change-Id: I6ef64aafd66dac865fb1c497331c8f4c4fea9b5f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoTODO: update todo lists
José Bollo [Tue, 15 Mar 2016 08:59:35 +0000 (09:59 +0100)]
TODO: update todo lists

Change-Id: Iffa4b749a99c5f99c64f9aa9e8e93a4c14dd896d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-util: install and pretty printing
José Bollo [Tue, 15 Mar 2016 08:57:03 +0000 (09:57 +0100)]
afm-util: install and pretty printing

Change-Id: I00cadda36c71495c352cfee9bfd4540f5defc89e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years ago.gitignore: ignore swp files
José Bollo [Tue, 15 Mar 2016 08:54:12 +0000 (09:54 +0100)]
.gitignore: ignore swp files

Change-Id: I36c6055f6f51ab0fbfd9827264c71b7bf3d153f6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodoc: create documentation
José Bollo [Tue, 15 Mar 2016 08:51:56 +0000 (09:51 +0100)]
doc: create documentation

Create more documentation about afm-main.

Change-Id: I8b73017b666ac42da248df4219ec7abc08c7e877
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-util: add the afm-util script
José Bollo [Wed, 2 Mar 2016 20:33:51 +0000 (21:33 +0100)]
afm-util: add the afm-util script

Change-Id: I2331eaa956eb2bf81a5cfbb68c1cb2be8166a4ef
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-db: commenting, bug fixing, improving
José Bollo [Wed, 2 Mar 2016 16:45:05 +0000 (17:45 +0100)]
afm-db: commenting, bug fixing, improving

Change-Id: I208e8eb72c42231e077276fa61dd4ad5e952b2c4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-json: adds function for new array/object
José Bollo [Wed, 2 Mar 2016 16:44:16 +0000 (17:44 +0100)]
utils-json: adds function for new array/object

Change-Id: I14168684cdfcae7ec0689eb45ab09aff82d66d22
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoadding documentation about the framework
José Bollo [Tue, 1 Mar 2016 09:21:16 +0000 (10:21 +0100)]
adding documentation about the framework

Change-Id: I53a62ad639aaf3fbc618e144f82a6b53b19afe4a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-run: fix bug in handling pids
José Bollo [Mon, 15 Feb 2016 21:36:36 +0000 (22:36 +0100)]
afm-run: fix bug in handling pids

Change-Id: If5d750a56ef7229769c46cc33d40faeb8ea76ece
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-run: handles pids and terminates groups
José Bollo [Mon, 15 Feb 2016 16:08:55 +0000 (17:08 +0100)]
afm-run: handles pids and terminates groups

Change-Id: I5c4c70fd1b9318d25d7b24394213f715d5e2fc78
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: refactoring launch
José Bollo [Mon, 15 Feb 2016 16:08:14 +0000 (17:08 +0100)]
afm-launch: refactoring launch

The children process have now the same parent
that is the daemon.

Change-Id: Id09ec2e52e90873ea2993b4c7f631b53a4cb5520
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoconf: setting readyfd for afb-daemon
José Bollo [Mon, 15 Feb 2016 12:46:17 +0000 (13:46 +0100)]
conf: setting readyfd for afb-daemon

Change-Id: I5c1fd99ae8d05bb468748a1d98773b397aeb4b0e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: add readyfd and improves typing
José Bollo [Mon, 15 Feb 2016 12:44:09 +0000 (13:44 +0100)]
afm-launch: add readyfd and improves typing

Change-Id: Ib5e957f55e0e9b8be650742efab5a8480e51f72b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: moves initialisation at bottom
José Bollo [Mon, 15 Feb 2016 12:42:56 +0000 (13:42 +0100)]
afm-launch: moves initialisation at bottom

Change-Id: I8819baa899f2fa5070b0972fce17922e09d69c05
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: fix warnings
José Bollo [Sun, 14 Feb 2016 11:47:48 +0000 (12:47 +0100)]
afm-launch: fix warnings

Change-Id: I7524edcf6a448efa14342d90e417d6046e84d29c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoconf: adds mode for the binder
José Bollo [Sat, 13 Feb 2016 21:33:40 +0000 (22:33 +0100)]
conf: adds mode for the binder

Change-Id: I6cd15a82fe5c9547afa3975300f26c42ba3b2283
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-run: adds control
José Bollo [Sat, 13 Feb 2016 21:31:29 +0000 (22:31 +0100)]
afm-run: adds control

Change-Id: Iafe0d7c8cc9d9c43bd3e039ce0644d6580d8bdb2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: implement remote launching
José Bollo [Sat, 13 Feb 2016 21:30:59 +0000 (22:30 +0100)]
afm-launch: implement remote launching

Change-Id: Ic81c7473e6754073585af595fb328e2f3238d19c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: begins integration of modes
José Bollo [Sat, 13 Feb 2016 16:20:08 +0000 (17:20 +0100)]
afm-launch: begins integration of modes

Change-Id: I51b3659ca86c04f7276b4beb0e0863fa0e1d700d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-user-daemon: prepare to launch with mode
José Bollo [Sat, 13 Feb 2016 11:51:29 +0000 (12:51 +0100)]
afm-user-daemon: prepare to launch with mode

Change-Id: I0372eab2496c2fdb12144d68c0f041f5f1fd360e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-json: some comments
José Bollo [Sat, 13 Feb 2016 11:12:11 +0000 (12:12 +0100)]
utils-json: some comments

Change-Id: I5271074c171d6c1fc74706546fc5a7a1073283d5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: refactor reading of config file
José Bollo [Sat, 13 Feb 2016 11:11:29 +0000 (12:11 +0100)]
afm-launch: refactor reading of config file

Change-Id: Ie902acb94861a729a6ff7f05d5c5d672b8294152
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-system-daemon: send signal before the answer
José Bollo [Fri, 12 Feb 2016 11:56:44 +0000 (12:56 +0100)]
afm-system-daemon: send signal before the answer

Change-Id: I96a0886406235a8448e8f07b09a3cdd01aa29021
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoservice :set the capabilities
José Bollo [Thu, 11 Feb 2016 15:41:57 +0000 (16:41 +0100)]
service :set the capabilities

Change-Id: I9722d6c6876fd872dccd9cb77f85b208c45e4b51
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agowgtpkg-zip: fix bug of modes
José Bollo [Thu, 11 Feb 2016 15:16:10 +0000 (16:16 +0100)]
wgtpkg-zip: fix bug of modes

Change-Id: If6a31f5e308003b49b3c2fa9b8a05455a8ad553d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agowgtpkg-zip: fix bug when file's size is zero
José Bollo [Thu, 11 Feb 2016 15:15:41 +0000 (16:15 +0100)]
wgtpkg-zip: fix bug when file's size is zero

Change-Id: I0119f5855d5b09ff15e087289b13681ab7300110
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-json: refactoring
José Bollo [Thu, 11 Feb 2016 15:14:16 +0000 (16:14 +0100)]
utils-json: refactoring

Change-Id: Ie8b49279e727afdbce7b9ea74c767d560c93af32
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-jbus: fix bug that blocked
José Bollo [Tue, 9 Feb 2016 16:42:22 +0000 (17:42 +0100)]
utils-jbus: fix bug that blocked

Change-Id: Icabab6e070b4c4b8e1357b199daf995c47090ad3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: commits conf file
José Bollo [Tue, 9 Feb 2016 13:35:57 +0000 (14:35 +0100)]
afm-launch: commits conf file

Change-Id: Ibf1354b444a945b22f90ca53be5b7c7eab1a688a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoadds config file for launchers
José Bollo [Mon, 8 Feb 2016 20:24:56 +0000 (21:24 +0100)]
adds config file for launchers

Change-Id: Ibbedefcdedbfc7f6fe7c89f8e8f32d022a93ca19
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-user-daemon: restart automatically
José Bollo [Fri, 5 Feb 2016 12:42:27 +0000 (13:42 +0100)]
afm-user-daemon: restart automatically

Change-Id: Icb4b6cd1612518dcf52ece7f1c762a18b1b7e2d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-system-daemon: fix signaling
José Bollo [Fri, 5 Feb 2016 10:16:25 +0000 (11:16 +0100)]
afm-system-daemon: fix signaling

Change-Id: If225a38efbd1809a623d2cf54b125a6ba94fd095
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-json: fix crash
José Bollo [Fri, 5 Feb 2016 09:40:27 +0000 (10:40 +0100)]
utils-json: fix crash

Change-Id: Ie3f38f8c9c0449c3ea28eafec358bdc81ae40b32
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agowgtpkg-zip: fix bug when file's size is zero
José Bollo [Fri, 5 Feb 2016 09:39:32 +0000 (10:39 +0100)]
wgtpkg-zip: fix bug when file's size is zero

Change-Id: Id0b58a81f4ec73d21aface1a7da9da897fc5eea9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoAdding uninstallation of widgets
José Bollo [Thu, 4 Feb 2016 14:43:49 +0000 (15:43 +0100)]
Adding uninstallation of widgets

Change-Id: I8558a77312590181de5313c89ea4c9bdb9b477c7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoAdding utils-json
José Bollo [Thu, 4 Feb 2016 11:29:49 +0000 (12:29 +0100)]
Adding utils-json

This provides facilities for handling json.

Change-Id: I325d5685ded745721a1801267b9c53beb974385c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-launch: removes a fatal warning
José Bollo [Thu, 4 Feb 2016 14:47:58 +0000 (15:47 +0100)]
afm-launch: removes a fatal warning

Change-Id: I9f67b3f07c9df990bb05b335261213897aaa18cb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-jbus: handles EINTR
José Bollo [Wed, 27 Jan 2016 20:21:55 +0000 (21:21 +0100)]
utils-jbus: handles EINTR

Change-Id: If89cc876dee54f21402cd7989ca43d0d91dd8f92
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-user-daemon: adds verbose info
José Bollo [Wed, 27 Jan 2016 11:10:51 +0000 (12:10 +0100)]
afm-user-daemon: adds verbose info

Change-Id: I9195b2b10124b573be90ed4b754f7fe0ae5595ac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolaunch: fix rootdir for afb-daemon
José Bollo [Wed, 27 Jan 2016 11:07:05 +0000 (12:07 +0100)]
launch: fix rootdir for afb-daemon

Change-Id: I2c975229aaf68ce82fc045a4aaffb4853869bc3d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoutils-dbus: fix un initialised status
José Bollo [Tue, 26 Jan 2016 16:04:27 +0000 (17:04 +0100)]
utils-dbus: fix un initialised status

Change-Id: I6384b88ee60530d44c01f98022b43976eb212bfc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agouser-daemon: propagate install/uninstall
José Bollo [Tue, 26 Jan 2016 11:08:11 +0000 (12:08 +0100)]
user-daemon: propagate install/uninstall

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>
8 years agoutils-jbus: implments multiple bus handling
José Bollo [Mon, 25 Jan 2016 22:47:05 +0000 (23:47 +0100)]
utils-jbus: implments multiple bus handling

Change-Id: I3c40b27448000fda800e2a3d98210eb6c11bb969
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolaunch: removes deamonizing afb-daemon
José Bollo [Mon, 25 Jan 2016 10:06:33 +0000 (11:06 +0100)]
launch: removes deamonizing afb-daemon

Change-Id: I7de57bae559842138078d450e981de6ae8f7c1e5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolaunch: counter effect of set-gid
José Bollo [Sun, 24 Jan 2016 15:49:01 +0000 (16:49 +0100)]
launch: counter effect of set-gid

Change-Id: I9430737c7d86cf6f7a14463f918af36314e41ec9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolaunch: launch the binder as a daemon
José Bollo [Fri, 22 Jan 2016 22:05:08 +0000 (23:05 +0100)]
launch: launch the binder as a daemon

This avoid the message "AFB:notice Use Ctrl-C to quit"

Change-Id: I7ff255890a2997fb78fe8d1467047e9bc3f713ae
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolaunch: new web runtime binary
José Bollo [Fri, 22 Jan 2016 21:08:02 +0000 (22:08 +0100)]
launch: new web runtime binary

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>
8 years agosecmgr: ensure that unknown error exist
José Bollo [Fri, 22 Jan 2016 10:30:38 +0000 (11:30 +0100)]
secmgr: ensure that unknown error exist

Change-Id: I82650b1dbd1cb47f9d5d20146b013e18667da6cc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolaunch: fix error when pipe is broken
José Bollo [Fri, 22 Jan 2016 10:18:18 +0000 (11:18 +0100)]
launch: fix error when pipe is broken

Change-Id: I41d0125dbbd8552f044add81b345a04a0f4fe8ac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>