src/app-framework-main.git
7 years agoUpdate date in headers
José Bollo [Thu, 26 Jan 2017 17:52:37 +0000 (18:52 +0100)]
Update date in headers

Also update .gitignore

Change-Id: I9d3e82c59318d983243ffce6d0a726ad5186fa2d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoPut strings in one place
José Bollo [Mon, 9 Jan 2017 12:41:16 +0000 (13:41 +0100)]
Put strings in one place

Change-Id: I79afd4fa18996e7879db4c11480a5400637dad2d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoSet application id when forking
José Bollo [Mon, 9 Jan 2017 10:32:50 +0000 (11:32 +0100)]
Set application id when forking

This improvement should make log message more clear.

Change-Id: Ifc78f7d913a1798a43b54df6b2bf9b52232d328a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoRemove use of deprecated readdir_r
José Bollo [Thu, 5 Jan 2017 16:09:55 +0000 (17:09 +0100)]
Remove use of deprecated readdir_r

Change-Id: I55bd335f1a731e3a02fdb598c8bd869686269aab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoAdds 2017 to copyrights
José Bollo [Tue, 3 Jan 2017 10:07:48 +0000 (11:07 +0100)]
Adds 2017 to copyrights

Change-Id: I3fcd64a038c6c5bca3d70186e2e68604aa392ed4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agotemporary grant requested permissions
José Bollo [Tue, 20 Dec 2016 12:59:43 +0000 (13:59 +0100)]
temporary grant requested permissions

Change-Id: If9a7d2a183aa8b0c0ed531b4d915443e199b488b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoconf/afm-launch.conf: use --roothttp=htdocs only for HTML5 applications
Stephane Desneux [Wed, 14 Dec 2016 15:28:37 +0000 (16:28 +0100)]
conf/afm-launch.conf: use --roothttp=htdocs only for HTML5 applications

Change-Id: Ieaa7b9f6f320610a56d020c9ac10fca313d892f9
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoafm-db: Search applications case insensitively
José Bollo [Wed, 14 Dec 2016 10:20:26 +0000 (11:20 +0100)]
afm-db: Search applications case insensitively

Makes the identifier of the application case insensitive.

Being case correct is the fast track.
Having the wrong case is not an error but just less efficient.

Change-Id: Id18f1cfcf49c9f9f336947ebb08bba335a0adc6a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agowgt-info: Enforce lower case ids and version
José Bollo [Wed, 14 Dec 2016 10:17:47 +0000 (11:17 +0100)]
wgt-info: Enforce lower case ids and version

This will be used next to avoid faking identity
of applications using the case difference.

Change-Id: I13cbdd5124b58b2a72c15054df6f3cd0e11a2cc5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agowgtpkg-install: set exec flag for application/vnd.agl.native
José Bollo [Wed, 14 Dec 2016 09:27:13 +0000 (10:27 +0100)]
wgtpkg-install: set exec flag for application/vnd.agl.native

This is needed for executable having a binder.

Also conforming to RFC 2045, mime types are made
case insensitive.

Change-Id: I065c8eada5ec044daca73b3bf994b0d6f3587414
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agofix html link 53/7553/1
Ronan [Mon, 12 Dec 2016 21:22:37 +0000 (22:22 +0100)]
fix html link

Change-Id: Ia1be9d8370620e4dcfd00130108928daef61a7ed
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
7 years agofix svg path for gen html 19/7519/1
Ronan [Fri, 9 Dec 2016 14:27:43 +0000 (15:27 +0100)]
fix svg path for gen html

Change-Id: Ib91a405a5a7d49ad6f6c752aef6cb6cadee9ab9f
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
7 years agoDoc reworked, relifted 27/7327/2
Romain Forlot [Thu, 17 Nov 2016 16:36:51 +0000 (17:36 +0100)]
Doc reworked, relifted

Change-Id: If41313a44cb66c0aa0f315b264284d081ff87f8e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
7 years agodocs: fix smallest typo, ever
Stephane Desneux [Thu, 17 Nov 2016 00:10:42 +0000 (01:10 +0100)]
docs: fix smallest typo, ever

Change-Id: Ibe47587fc1971de44e46147b110f2605b262c639
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agowgtpkg-install: set the exec flag
José Bollo [Wed, 16 Nov 2016 10:48:39 +0000 (11:48 +0100)]
wgtpkg-install: set the exec flag

Change-Id: Iae3acfcd12f1b01ebf47225af72220e61a24767f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafm-launch: avoid warnings
José Bollo [Wed, 16 Nov 2016 10:32:17 +0000 (11:32 +0100)]
afm-launch: avoid warnings

Change-Id: I8e650af2eccb99f8b97395a66aba839f4b5802b7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadd variable AFM_APP_INSTALL_DIR to environment
José Bollo [Wed, 16 Nov 2016 10:29:49 +0000 (11:29 +0100)]
add variable AFM_APP_INSTALL_DIR to environment

Change-Id: I1558ed87124750a87a4bf0359d9fb974617a8c42
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafm-launch: allows variable in environment
José Bollo [Wed, 16 Nov 2016 10:24:36 +0000 (11:24 +0100)]
afm-launch: allows variable in environment

Change-Id: I57e45894ffb4e4e32e4560f8a15adc54335067d0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agowgtpkg-zip: fix implicit conversions
José Bollo [Tue, 15 Nov 2016 06:49:36 +0000 (07:49 +0100)]
wgtpkg-zip: fix implicit conversions

Change-Id: Ib3e3a31090361e4c0dd24c2d936dc8695a491030
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafm-user-daemon: Adds method "once"
José Bollo [Mon, 14 Nov 2016 10:43:46 +0000 (11:43 +0100)]
afm-user-daemon: Adds method "once"

Adds the method "once" that is intended to start
an application in local mode if it doesn't already
run. Returns the state of the running application.

Change-Id: I4dfff06fa2d3e95f13a2436a2f1af9174799ddcf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafm-run: adds helper functions
José Bollo [Mon, 14 Nov 2016 10:40:58 +0000 (11:40 +0100)]
afm-run: adds helper functions

Adds function to summarize state of runners:
is_running, is_paused, is_alive, is_dead

Change-Id: I2a46be3c3a2079a5e43cde5f8ed18aab391ea05b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafm-run: minor fixes
José Bollo [Mon, 14 Nov 2016 10:38:36 +0000 (11:38 +0100)]
afm-run: minor fixes

fix a wrong comment of the returned value.
fix the location of the variable runner (probablyy a cut&paste error)

Change-Id: If8320410ff81576a72746cd703e8b1207672eaa2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agobinding: remove unused string
José Bollo [Mon, 14 Nov 2016 10:36:06 +0000 (11:36 +0100)]
binding: remove unused string

Change-Id: I3dc927c6e23b72dc628efe9b48b9d2a8196b5620
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoadds introspection files for dbus
José Bollo [Tue, 8 Nov 2016 12:43:17 +0000 (13:43 +0100)]
adds introspection files for dbus

Change-Id: I8602eadc2399588030a44aa98593556c38b0754a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agorenaming of verbs
José Bollo [Tue, 8 Nov 2016 12:31:50 +0000 (13:31 +0100)]
renaming of verbs

The verbs 'stop' and 'continue' are now renamed
as respectively 'pause' and 'resume'.

Change-Id: I2f82105103884fc07f3c67e08c696e435aed28e1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoafm-user-daemon: returns the pids of the processes
José Bollo [Tue, 8 Nov 2016 12:06:28 +0000 (13:06 +0100)]
afm-user-daemon: returns the pids of the processes

Asking for the state now returns the pids of the launched
processes when this processes are still alive.

Change-Id: I69348d8089581247465c3bd1ab83f86decad25ae
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoutils-json: add facility for arrays
José Bollo [Tue, 8 Nov 2016 12:01:05 +0000 (13:01 +0100)]
utils-json: add facility for arrays

Change-Id: I6d536d730af71b18e78720839522b82aed63c0d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agoAdds a pkgconfig file for directories
José Bollo [Tue, 8 Nov 2016 11:56:05 +0000 (12:56 +0100)]
Adds a pkgconfig file for directories

Change-Id: Icbd3c7bc52232ca0fec6f4c69694bfaa0b64ef8e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodoc: switch to mkdocs
José Bollo [Wed, 26 Oct 2016 16:24:13 +0000 (18:24 +0200)]
doc: switch to mkdocs

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoupdate dates of headers
José Bollo [Wed, 26 Oct 2016 11:36:38 +0000 (13:36 +0200)]
update dates of headers

Change-Id: Ie82326a91ff61f079421239ffa83428f552194ab
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-user-daemon: accept bus address with arguments
José Bollo [Thu, 20 Oct 2016 13:54:25 +0000 (15:54 +0200)]
afm-user-daemon: accept bus address with arguments

It might be necessary to pass the address as an argument because
library systemd uses secure_getenv to retrieves the default
addresses and secure_getenv might return NULL in some cases.

Change-Id: Iea14a0494f39875f0a501e53a2711b0df96bab3c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoafm-run: set smack attributes to user directory
José Bollo [Thu, 20 Oct 2016 08:35:08 +0000 (10:35 +0200)]
afm-run: set smack attributes to user directory

The home directory for applications of a user
that was created by the daemon also gets a
security label and encures that there is no
transmutation.

It also simplifies allocation of the directory string.

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agobuild: improve simulation of security
José Bollo [Thu, 20 Oct 2016 09:12:06 +0000 (11:12 +0200)]
build: improve simulation of security

This commits allows to simulates either the security-manager
and the smack LSM.

These simulations are used for developping purpose.

Change-Id: I138d7351511ca2663498bfacca28811fc81b8c55
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoMinor improvements
José Bollo [Tue, 11 Oct 2016 14:34:46 +0000 (16:34 +0200)]
Minor improvements

- Clean cmake files
- Fix orthograph and vocabulary

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoFix very bad typo
José Bollo [Tue, 18 Oct 2016 07:28:54 +0000 (09:28 +0200)]
Fix very bad typo

The previous commit had CAP_DAC_OVERRIDE
instead of CAP_MAC_OVERRIDE.

Change-Id: I36988cd7771b6e25dbcf8d858ee3598bd12176b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoRefactor of service for systemd 229
José Bollo [Wed, 12 Oct 2016 08:34:20 +0000 (10:34 +0200)]
Refactor of service for systemd 229

Since introduction of ambient capabilities,
systemd deprecated the use of Capabilities.
With systemd 229 activated with krogoth,
the use of Capabilities does nothing.

This commits avoids to use SecureBits and Capabilities.
It now relies on the fact that post installations are
setting the capabilities to the file:

 - setcap cap_mac_override,cap_dac_override=ep          afm-system-daemon
 - setcap cap_mac_override,cap_mac_admin,cap_setgid=ep  afm-user-daemon

Using p (permitted) instead of i (inherited) that was
previously used.

Change-Id: I17d51da07adf775d47a7f44551d8b8ebbc6eacb9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodocumentation: improve namings
José Bollo [Mon, 19 Sep 2016 15:59:52 +0000 (17:59 +0200)]
documentation: improve namings

Change-Id: I188c3246f7492e82cb00a1a1f6cefe56495d9224
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodocumentation: adds required-binding entry
José Bollo [Mon, 19 Sep 2016 10:34:51 +0000 (12:34 +0200)]
documentation: adds required-binding entry

Change-Id: Id8a62f5f6d9e54399fc12e10e922bf1ca121eb49
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoDescribes the permissions in the config file
José Bollo [Mon, 12 Sep 2016 15:23:36 +0000 (17:23 +0200)]
Describes the permissions in the config file

Change-Id: I9f786ed0ae552354383796c4137a82b6116ad016
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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>