src/app-framework-main.git
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>
8 years agoconfig: refactoring user service
José Bollo [Thu, 21 Jan 2016 16:54:45 +0000 (17:54 +0100)]
config: refactoring user service

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>
8 years agoFix a crash when connection to dbus fails
José Bollo [Wed, 13 Jan 2016 16:35:57 +0000 (17:35 +0100)]
Fix a crash when connection to dbus fails

Change-Id: Ie3caca52b7b7f92cb4da4641d2884c7606444784
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agouse the correct dbus directory for session
José Bollo [Wed, 6 Jan 2016 16:24:54 +0000 (17:24 +0100)]
use the correct dbus directory for session

Change-Id: I6a0816f82c8658741df5dc9dfcb8b523c42d6fe7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agodocumenting
José Bollo [Tue, 5 Jan 2016 16:17:08 +0000 (17:17 +0100)]
documenting

Change-Id: I592074b392ecf75e4964756e3eed72f09652f0b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoworkdir: avoid use of absolute path
José Bollo [Tue, 5 Jan 2016 13:06:20 +0000 (14:06 +0100)]
workdir: avoid use of absolute path

Change-Id: Id3e039d1279f8afa5cda4359254362f2afacab61
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoTODO: update
José Bollo [Mon, 4 Jan 2016 19:57:27 +0000 (20:57 +0100)]
TODO: update

Change-Id: I71c307d5ff91d48c275b6b676bc9c136a04b5446
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agowgt-info: adding field 'ver' for major.minor
José Bollo [Mon, 4 Jan 2016 19:52:33 +0000 (20:52 +0100)]
wgt-info: adding field 'ver' for major.minor

Change-Id: I3f9684b1e313894c5c796141d3a0b36831e52695
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agowgtpkg-zip: use PATH for retriving programs
José Bollo [Mon, 4 Jan 2016 14:09:36 +0000 (15:09 +0100)]
wgtpkg-zip: use PATH for retriving programs

When using yocto, the directive 'find_program'
of cmake returns a path that matches the host
path when builing, not the path of the file on
the target.

Using the standard algorithm for seeking
programs using PATH should solve the problem.

Change-Id: I426a88fe044a1d1b3a72124da17ca8a188caad9c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agozip: fix bug
José Bollo [Wed, 30 Dec 2015 13:49:49 +0000 (14:49 +0100)]
zip: fix bug

Change-Id: I69002d48416c2e58fc3ac4f9291368023e084bec

8 years agoimprovement of services
José Bollo [Tue, 29 Dec 2015 18:34:31 +0000 (19:34 +0100)]
improvement of services

Change-Id: Iaa1e43eb3eb84f7410d3bd5f352efee46a5591f4

8 years agopackages and install configuration files
José Bollo [Tue, 29 Dec 2015 16:40:21 +0000 (17:40 +0100)]
packages and install configuration files

Change-Id: I8a0d4c42d7fe02eabc06c91af9c488bb8235df4a

8 years agofix some warnings
José Bollo [Tue, 29 Dec 2015 14:23:40 +0000 (15:23 +0100)]
fix some warnings

Change-Id: Ibcdc33feb279309633a78b51d59d26846b259003

8 years agomanages simulation of security-manager
José Bollo [Tue, 29 Dec 2015 14:08:15 +0000 (15:08 +0100)]
manages simulation of security-manager

Change-Id: Ia465bab3ae99e95daa7afd5bd22a98bea1bfef17

8 years agoREADME: improves the formatting
José Bollo [Tue, 29 Dec 2015 12:38:19 +0000 (13:38 +0100)]
README: improves the formatting

Change-Id: Ifd4e27f1e46e873fd5e3dbddc0db53152aa15d15

8 years agocleaning
José Bollo [Tue, 29 Dec 2015 12:33:46 +0000 (13:33 +0100)]
cleaning

Change-Id: I9e7cb4ec74a024f0d17575965b7763e40ad718bb

8 years agoREADME: more documentation
José Bollo [Tue, 29 Dec 2015 11:40:47 +0000 (12:40 +0100)]
README: more documentation

Change-Id: Ib8293faffc5e81bb84b5de92a97e3ae69a9dabcf

8 years agoREADME: renamed with md suffix
José Bollo [Tue, 29 Dec 2015 09:33:21 +0000 (10:33 +0100)]
README: renamed with md suffix

Change-Id: I4b0b700229bb72b5c00096f1b45ffd7425d5e0af

8 years agowgtpkg: spliting of headers
José Bollo [Tue, 29 Dec 2015 09:11:20 +0000 (10:11 +0100)]
wgtpkg: spliting of headers

Change-Id: I8ac6a16c936b73c6ce74ee41ae9c5a2ad9d042ee

8 years agoafm-launch: uses qmlscene not qmlviewer
José Bollo [Mon, 28 Dec 2015 14:33:11 +0000 (15:33 +0100)]
afm-launch: uses qmlscene not qmlviewer

Change-Id: I2e1818be346f1802c7e32725048fc2fea44a44f6

8 years agoimproved launcher
José Bollo [Wed, 23 Dec 2015 17:39:01 +0000 (18:39 +0100)]
improved launcher

Change-Id: Id37b01f7bb41ef1806ef302c4ce2d5bf29ef365e

8 years agozip/unzip: don't only rely on libzip
José Bollo [Wed, 23 Dec 2015 14:31:09 +0000 (15:31 +0100)]
zip/unzip: don't only rely on libzip

Change-Id: I2bd2cf0c9447a47fdb56661c15e852e52e9dcba7

8 years agowgtpkg-installer: adapt to new includes
José Bollo [Wed, 23 Dec 2015 12:24:20 +0000 (13:24 +0100)]
wgtpkg-installer: adapt to new includes

Change-Id: Ia513839bdda2d3af7357485fe6613158303a3dfb

8 years agoimplementation of installation by the daemon
José Bollo [Tue, 22 Dec 2015 18:14:53 +0000 (19:14 +0100)]
implementation of installation by the daemon

Change-Id: I50ceca8c515df5a22f3387ccd1a6e3716641661f

8 years agorefactoring and moving forward
José Bollo [Tue, 22 Dec 2015 16:25:45 +0000 (17:25 +0100)]
refactoring and moving forward

Rename af-... files to afm-...
Add system daemon draft

Change-Id: I3f8b69ac9cc5af54be34b4ad11a512c57c0230b6

8 years agoallows to add directories
José Bollo [Tue, 22 Dec 2015 10:45:02 +0000 (11:45 +0100)]
allows to add directories

Change-Id: I574a09d4ce3dcfe84e4744ea8f0ae4abf1277a1d

8 years agoemit json compatible errors
José Bollo [Tue, 22 Dec 2015 09:16:36 +0000 (10:16 +0100)]
emit json compatible errors

Change-Id: Ib6994e978f442f688acc2419c59d222c0c09495b

8 years agoRenaming afm-main-daemon to afm-user-daemon
José Bollo [Tue, 22 Dec 2015 09:12:50 +0000 (10:12 +0100)]
Renaming afm-main-daemon to afm-user-daemon

Change-Id: I3370c79c8ce9a7f6366511e808a81b1c1bbb6519

8 years agolauncher more parametric
José Bollo [Mon, 21 Dec 2015 22:18:10 +0000 (23:18 +0100)]
launcher more parametric

Change-Id: Id73ae4cb907cc4555a008737ead97403514f5dd6

8 years agoRenamings
José Bollo [Mon, 21 Dec 2015 22:16:49 +0000 (23:16 +0100)]
Renamings

Change-Id: I747d8f6d92b4fcb045439c1ed7b84d0e3d234937

8 years agochanging the name of the path
José Bollo [Mon, 21 Dec 2015 17:26:46 +0000 (18:26 +0100)]
changing the name of the path

Change-Id: I8f2b94d366638612cf32399e379925fed74e2724

8 years agoImproved version of jbus now handling signals
José Bollo [Mon, 21 Dec 2015 16:03:28 +0000 (17:03 +0100)]
Improved version of jbus now handling signals

Change-Id: Ib4786bf8584f0955725a215a6aa6c7ca90bc7115

8 years agoImproves the packaging, adds comments
José Bollo [Mon, 21 Dec 2015 09:45:58 +0000 (10:45 +0100)]
Improves the packaging, adds comments

Change-Id: Ib9eb3bf010814ea043e838f2e97a692ecd12514b

8 years agoremoving autotools
José Bollo [Fri, 18 Dec 2015 19:24:57 +0000 (20:24 +0100)]
removing autotools

Change-Id: I619109ba3c5d603ce628dfc8a2419c64ef991571

8 years agoallows to define directories
José Bollo [Fri, 18 Dec 2015 18:27:20 +0000 (19:27 +0100)]
allows to define directories

Change-Id: I9d92a68c59d911575d283bb6be9676edc3463bf8

8 years agofix directories and options
José Bollo [Fri, 18 Dec 2015 16:08:35 +0000 (17:08 +0100)]
fix directories and options

Change-Id: I83c0a65248faaecf8a1b2270003bd0cbd519794a

8 years agomoving to cmake
José Bollo [Fri, 18 Dec 2015 15:58:10 +0000 (16:58 +0100)]
moving to cmake

Change-Id: Ic1c7ce208f88c707435cce0ec0e658974315d3d1

8 years agoBug fix and authoring
José Bollo [Wed, 16 Dec 2015 23:06:48 +0000 (00:06 +0100)]
Bug fix and authoring

Change-Id: I431915ac83727ab2cd27de37ace5015effcc7746
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agolauncher basis work with af-launch
José Bollo [Wed, 16 Dec 2015 19:26:34 +0000 (20:26 +0100)]
launcher basis work with af-launch

Change-Id: I5076d5be3b3c3390525bef59029890687df237f4

8 years agolaunchers basis work
José Bollo [Wed, 16 Dec 2015 19:26:04 +0000 (20:26 +0100)]
launchers basis work

Change-Id: Idf243308d2c0320f02cab732ccf65181d1843e88

8 years agorefactoring names
José Bollo [Wed, 16 Dec 2015 13:26:53 +0000 (14:26 +0100)]
refactoring names

Change-Id: I46cb0843457cb2e65dc3e65069e5c86981b4838c

8 years agodaemon ready for the API
José Bollo [Wed, 16 Dec 2015 11:16:48 +0000 (12:16 +0100)]
daemon ready for the API

Change-Id: Ib51543ee1241b2184890cecb483f8a3b6f8df257

8 years agorenamed API
José Bollo [Wed, 16 Dec 2015 10:46:06 +0000 (11:46 +0100)]
renamed API

Change-Id: I16752b327d5ee2be64d554d5ea1fa8d241644e51

8 years agodefinition of trusted certificates directory
José Bollo [Wed, 16 Dec 2015 08:33:29 +0000 (09:33 +0100)]
definition of trusted certificates directory

Change-Id: Iae2e845406764f3bbe2727bf191b54b8ea223e5b

8 years agofix includes
José Bollo [Tue, 15 Dec 2015 20:48:44 +0000 (21:48 +0100)]
fix includes

Change-Id: Id80ff3c1e43260e7baab691652577ed6885fff55

8 years agofix help error
José Bollo [Tue, 15 Dec 2015 15:58:14 +0000 (16:58 +0100)]
fix help error

Change-Id: Ic734f389a3c7ddc6adb1ca1715f69940a3849f61

8 years agoin progress (compiles)
José Bollo [Tue, 15 Dec 2015 15:46:55 +0000 (16:46 +0100)]
in progress (compiles)

Change-Id: Ia053606daba26ac7e5a59c3137da44d7e80fedcb

8 years agowork in progress
José Bollo [Tue, 15 Dec 2015 15:22:32 +0000 (16:22 +0100)]
work in progress

Change-Id: Ifa4371f99968a56e980396f7009ab5030b831ebb

8 years agobug fix for jbus
José Bollo [Tue, 15 Dec 2015 10:45:48 +0000 (11:45 +0100)]
bug fix for jbus

Change-Id: I4dd2ec2ba545924a3667266db990f2c1c99eadbc

8 years agoin progress
José Bollo [Tue, 15 Dec 2015 10:20:08 +0000 (11:20 +0100)]
in progress

Change-Id: Ida682c87abc3413e0e84c56f60d54e1c5409fd3a

8 years agoadding jbus
José Bollo [Tue, 15 Dec 2015 10:19:49 +0000 (11:19 +0100)]
adding jbus

Change-Id: Ia712f77d32e3a7b0b15fcf2066b562d8d4c02169

8 years agoframework basis with plugins
José Bollo [Mon, 14 Dec 2015 14:01:13 +0000 (15:01 +0100)]
framework basis with plugins

Change-Id: Ib8c27d9a7624307aeaa8795b72a3c4a3965aa241

8 years agowork in progress
José Bollo [Sun, 13 Dec 2015 21:21:49 +0000 (22:21 +0100)]
work in progress

Change-Id: I197678515772982ab6dd2fd949fa2a54ca4f268f

8 years agomore work
José Bollo [Fri, 11 Dec 2015 21:55:11 +0000 (22:55 +0100)]
more work

Change-Id: I7eac968a21766be44068463bcab8aaaa3d12941f

8 years agowork in progress
José Bollo [Fri, 11 Dec 2015 17:01:18 +0000 (18:01 +0100)]
work in progress

Change-Id: I65416563a8dc54e877df03a304fe4cbd42ebb3da

8 years agodon't change of directory anymore
José Bollo [Fri, 11 Dec 2015 13:57:32 +0000 (14:57 +0100)]
don't change of directory anymore

Change-Id: I9f5906d3e053b3fa0f3000d07c4af3f666fe079a

8 years agosecurity-manager: more integration
José Bollo [Thu, 10 Dec 2015 20:18:36 +0000 (21:18 +0100)]
security-manager: more integration

Change-Id: Idcb3fc1b35dda0dae4ea8a9df0ad6c5c590437e7

8 years agoadd validation of validsubpath
José Bollo [Thu, 10 Dec 2015 19:16:13 +0000 (20:16 +0100)]
add validation of validsubpath

Change-Id: Iad94669253c7172c33efd482ed7a676c4bd6d936

8 years agoallow to query path having heading /
José Bollo [Thu, 10 Dec 2015 16:55:06 +0000 (17:55 +0100)]
allow to query path having heading /

Change-Id: I9be22c09557f426f271310fac4b1cdd5000e0161

8 years agoimprove opacity and fix bug
José Bollo [Thu, 10 Dec 2015 16:33:06 +0000 (17:33 +0100)]
improve opacity and fix bug

Change-Id: I18a24d83fe7c434f1ef22d33cec5f5d443d53706

8 years agoadd config path
José Bollo [Thu, 10 Dec 2015 16:07:31 +0000 (17:07 +0100)]
add config path

Change-Id: Iab9ee131dfae873de67c39da92203c86fe721105

8 years agobug fix in calling 'd2i_X509'
José Bollo [Thu, 10 Dec 2015 15:42:35 +0000 (16:42 +0100)]
bug fix in calling 'd2i_X509'

Change-Id: I606ac386266cdb540203eee4568591d2c3b313ef

8 years agoadded info retrieval
José Bollo [Thu, 10 Dec 2015 15:39:05 +0000 (16:39 +0100)]
added info retrieval

Change-Id: I6f91b15e87308cf01db4ddafa3c2715c251f5fe5

8 years agorefactoring widget library
José Bollo [Wed, 9 Dec 2015 15:21:09 +0000 (16:21 +0100)]
refactoring widget library

Change-Id: I9662573ed677d34daa393f0e207a4cd4a822f8ad
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoadd wrapper to security-manager
José Bollo [Wed, 9 Dec 2015 13:52:38 +0000 (14:52 +0100)]
add wrapper to security-manager

Change-Id: Ieb3352e705472358b8dae2472cf4ad38d7ae0c0b

8 years agorefactoring sources
José Bollo [Wed, 9 Dec 2015 13:35:04 +0000 (14:35 +0100)]
refactoring sources

Change-Id: Id6d52eee86b706958972e9b345ec0d4d1e488146
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agovalidation of the path
José Bollo [Wed, 9 Dec 2015 13:22:42 +0000 (14:22 +0100)]
validation of the path

Change-Id: I3ae984e787335264cd7f88f239453ff10c900ee2

8 years agowork relatively to a root directory
José Bollo [Tue, 8 Dec 2015 13:44:38 +0000 (14:44 +0100)]
work relatively to a root directory

Change-Id: I7cbb96bd3f699092ddfded8cc8893ec780a97d8c

8 years agoSupport for elements of config.xml
José Bollo [Tue, 8 Dec 2015 12:16:11 +0000 (13:16 +0100)]
Support for elements of config.xml

This add some elements intended to be used later when handling
data coming from config.xml of widgets.

Change-Id: I1df9eb158d5c37578c9c7a8caa9eb8f85527ca4b

8 years agoallows concatenation of multiple certificates
José Bollo [Thu, 3 Dec 2015 14:30:21 +0000 (15:30 +0100)]
allows concatenation of multiple certificates

Change-Id: If7352761b49e1ba5ff76800fa4fb093b8cb878f2

8 years agocomments
José Bollo [Thu, 3 Dec 2015 14:26:29 +0000 (15:26 +0100)]
comments

Change-Id: I9b4a2067deca27c067d3b827d87204e87fa9c493

8 years agoput some messages to debug
José Bollo [Thu, 3 Dec 2015 12:26:27 +0000 (13:26 +0100)]
put some messages to debug

Change-Id: I9466dfe74113af5aa41d2c6320d25282f39bdf16

8 years agoAdding verbosity
José Bollo [Thu, 3 Dec 2015 11:18:13 +0000 (12:18 +0100)]
Adding verbosity

Change-Id: Icc0fdc6a230e2bf11fccc4f7739009e7266f6b9d

8 years agoimprove version check of libzip
José Bollo [Thu, 3 Dec 2015 11:03:00 +0000 (12:03 +0100)]
improve version check of libzip

Change-Id: Id6035e83d7daa9cf6544d581f93d502085952053

8 years agospliting search id
José Bollo [Thu, 3 Dec 2015 09:26:16 +0000 (10:26 +0100)]
spliting search id

Change-Id: I069750a6d02ca7967daeeee1b01dbdb082221146

8 years agotemporarily set prefix path to ./
José Bollo [Wed, 2 Dec 2015 14:38:57 +0000 (15:38 +0100)]
temporarily set prefix path to ./

Change-Id: If6e260ad608022d752e2880d4b27e8670bc42310

8 years agocorrect handling of zip characters
José Bollo [Wed, 2 Dec 2015 14:35:19 +0000 (15:35 +0100)]
correct handling of zip characters

Change-Id: Ifae715b80961ba8b602b4f15cadafb67b7f05bbb

8 years agoMerge pull request #1 from Tarnyko/master
jobol [Wed, 2 Dec 2015 14:25:15 +0000 (15:25 +0100)]
Merge pull request #1 from Tarnyko/master

Require libzip >= 1.0

8 years agoRequire libzip >= 1.0
Manuel Bachmann [Wed, 2 Dec 2015 14:16:51 +0000 (15:16 +0100)]
Require libzip >= 1.0

Most distributions still ship libzip 0.10, but wgtpkg is
using "zip_dir_add()", "ZIP_FL_ENC_*"... which only exist
in more recent libzip >= 1.0.

Make the autotools check more precise in this respect.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
8 years agoUse of autotools for building
José Bollo [Thu, 12 Nov 2015 14:50:06 +0000 (15:50 +0100)]
Use of autotools for building

Change-Id: Idf3555872aa49aca67cccb1fb5ef6aa6a9d397d1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoAdds validation of zip filenames
José Bollo [Tue, 10 Nov 2015 15:15:01 +0000 (16:15 +0100)]
Adds validation of zip filenames

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoImproves initialisation of xmlsec library
José Bollo [Tue, 10 Nov 2015 14:39:04 +0000 (15:39 +0100)]
Improves initialisation of xmlsec library

Testing XMLSEC_CRYPTO_DYNAMIC_LOADING to call (or not)
xmlSecCryptoDLLoadLibrary is mandatory, not optional.

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
8 years agoinitial commit
José Bollo [Mon, 9 Nov 2015 20:58:30 +0000 (21:58 +0100)]
initial commit

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