summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-28unit.conf: Explicit dependency to user-config.serviceeel_5.1.0eel_5.0.3eel_5.0.2eel_5.0.1eel_5.0.0eel/5.1.0eel/5.0.3eel/5.0.2eel/5.0.1eel/5.0.05.1.05.0.35.0.25.0.15.0.0José Bollo2-0/+4
Some times, some services (like weston) are starting too much slowly, implying errors on applications that need it (like homescreen). To avoid the issue, an explicit dependency to user-config.service is added. That service, user-config.service, has an implicit dependency to user-config.path that waits weston to be started. Bug-AGL: SPEC-1199 Change-Id: I7a5b9fd2d5fbd0d6ca778d78db5147a849ddcd6e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-12-18Bump version to 5.0.0-EEeel_4.99.5eel/4.99.54.99.5José Bollo1-1/+1
Change-Id: Icb0f8870fa646ed0e2e969eaa1a06505f8dec467 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-12-18Bump doc to 4.99-EERC1José Bollo4-11/+12
(Author resetted from Sebastien Douheret to José Bollo to workaround gerrit policy) Change-Id: I9181f557addc212224cc1bfe2da9a61b2c0cfb01 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-18Add .gitreview defaultbranch for eeleel_4.99.4eel/4.99.44.99.4Jan-Simon Möller1-0/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-05Update version of toolseel_4.99.3eel_4.99.2eel_4.99.1eel/4.99.3eel/4.99.2eel/4.99.14.99.34.99.24.99.1José Bollo7-8/+119
Change-Id: I82bb06d2be92beb377d6c3cafffae49c65e9f20b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05Set the url of the projectJosé Bollo1-0/+1
Change-Id: Ib32eac8f5ebc9e6dea43fdba78b6130b59b319e4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05Fix warnings 'implicit-fallthrough' of gcc 7José Bollo4-4/+8
Change-Id: I32b42fd8db481fcbdce4b934fc990c118293850d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05Upgrade to afb-daemon (binder) version 4.0 at leastJosé Bollo3-58/+44
Change-Id: I6d2a6e7e2781f0b2b3471f698912990961d84865 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-05Update CMake required versionJosé Bollo1-2/+2
Change-Id: I8d45e9d0430600444a25d923412dd8e385b91470 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-01afm-unit-debug.conf: Move monitoring optionJosé Bollo1-1/+1
Put it in the same place that other unconditionnal options Change-Id: I75fc5503db6fd9776299564b4a559a5bbf889952 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-01afm-unit-debug.conf: Increase the verbosity in debugJosé Bollo1-0/+1
Latest version of the binder separated the verbosity levels of WARNING and NOTICE. This commits asks for notice report by default in debug. Change-Id: Ibdaf16560384c7f2576066250e42c44074501ebb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-31afm-unit.conf: improve setting of namesJosé Bollo2-4/+4
The names are now prefixed by "afbd-" to clearly identify the binder daemon. Change-Id: I0dbd0a5dd68260a6315599e18e3e2f4a6be3efc5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29afm-unit.conf: use option --name for setting binder nameJosé Bollo2-7/+17
Also enforce output to journal Change-Id: I85957cfb8cc7e2264c9146ca18c352a0af347934 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29afm-unit-debug.conf: add --monitoring optionJosé Bollo1-0/+1
Change-Id: I3174738bf4c164513bb6a0399584784548b22c2c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29afm-unit-debug.conf: provides a default tokenJosé Bollo1-1/+1
The default token is set to HELLO Change-Id: I275c8d91633f4b6aa596c6195b90f1ad7c1b0cde Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-29afn-unit.conf: Fix bug for option --no-httpdJosé Bollo2-25/+23
The option --no-httpd is applied for applications of type 'application/vnd.agl.service' but the option was misplaced in the command line. On an other hand, setting --no-httpd makes option --roothttp irrevelant. Also, the option is currently not to be applied when AGL_DEVEL (pulling afm-unit-debug.in) is required. Change-Id: I05b15fa2a847a5564d7c88ce7ac47cd8a2a29f40 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-08afm-unit.conf: refactor LD_LIBRARY_PATH valueJosé Bollo2-4/+4
Changes from LD_LIBRARY_PATH=$ORIGIN/$LIB to LD_LIBRARY_PATH=$ORIGIN/lib because $LIB isn't univoque for integrators while lib is. Change-Id: Ic4b2f8bb1410c35f75eb957a0ebc10141f995aba Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-08wgtpkg-install: search in subdir "htdocs" alsoJosé Bollo1-0/+11
For widgets that are fully HTML, the search of the content was not checking the subdirectory "htdocs" that is enforced elsewhere. This commits add the search of the content in the subdirectory "htdocs". This is a temporarily fix. A better complete solution has to be delivered later. Bug-AGL: SPEC-808 Change-Id: I8bef7c4a31ff919827ceca05e203c2b277cf7657 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-07Set explicit path for services and unitsJosé Bollo2-0/+2
This patch removes references to /usr/local and add reference to the installation directory. The companion programs can be run using path relatives to the installation directory. Bug-AGL: SPEC-384 Change-Id: I7e10be1d0df1b62f3be0104f88d1787dd849d152 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-07Handle file-properties for setting eXecutable flagJosé Bollo2-0/+56
This commits introduce the feature "urn:AGL:widget:file-properties". This feature actually only allows to set execution flag to files of the widget. Example: <feature name="urn:AGL:widget:file-properties"> <param name="flite" value="executable" /> <param name="jtalk" value="executable" /> </feature> Bug-AGL: SPEC-384 Change-Id: If13ca3b1015576317fd52cb9540b77d0e2675f67 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-08-03Fix socket dependency for afb serviceRonan Le Martret2-4/+4
Change-Id: Icb65d7165e1f1c0811f170effe148606bc367872 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-08-02Executing /bin/bash explicitlyTadao Tanikawa1-1/+1
Although 'afm-util' uses PIPESTATUS[] to catch error from dbus-send, it doesn't require executing /bin/bash. Change-Id: I45b8a19b3dcdf789103472e16de64e0d50351548 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-07-28clean markdown documentationRonan Le Martret10-637/+695
Change-Id: I1b0a1628b42097c47a844aa0c8030d4534428421 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-07-24Add service debugging support (afm-debug).Sebastien Douheret5-3/+388
Add necessary tools/scripts, such as afm-debug, to allow service binding. These tools are only available in develvopment (AGL_DEVEL is set). Change-Id: I4e946146af985c74c8bd97d8c118b932394bbc5e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh> Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-11Don't list terminated processesJosé Bollo1-7/+8
Listing processes that are terminated might be disturbing. So it is now removed. In some future, it should be good to return on option even terminated processes with an indication of their termination status. Bug-AGL: SPEC-728 Change-Id: I6d5c892bc5e618830cb41de7d664c2443525af96 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-11Allow to install widget with no iconJosé Bollo2-7/+11
This patch allows a widget to not specify any icon but it still enforce when an icon is specified to specify only one icon and to provide the attribute "src". Bug-AGL: SPEC-702 Change-Id: I916b7581ac1f486a4a1d5774d0885c3711029f69 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-07unit.conf: Allow service to run by defaultJosé Bollo1-2/+0
Change-Id: Ifc2d1795041d0254af7db518f64c988bb747200c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-06afm-util: make output more readableJosé Bollo1-5/+13
Change-Id: Idfa35a60f3ee6268d2f08304e5ad2248777d2002 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-03install: improve port detectionJosé Bollo1-10/+52
Check any existing X-AFM-http-port or X-AFM--http-port. Change-Id: I1111095664535c849c76870f2e5104fb07099ab4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-28Fix bad error reportingJosé Bollo1-0/+3
The use of %m was buggy due to the implementation of 'vverbose': it always returned ENOTTY Inappropriate ioctl for device Change-Id: I0b7dd4c2f4ce5a45611042a8b9ba3e6db0e60803 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-27Moves handling of reloadsJosé Bollo3-39/+21
The new version ensures that the daemons are responsibles of reloading the units. This is no more done by default. Change-Id: I9ff33a628dfc05e429dbc7bf127d641691f2a3b9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-26afm-util: report correctly error status of dbus-sendJosé Bollo1-0/+1
Bug-AGL: SPEC-699 Change-Id: I8398f9dedefbe02a1ba57ed3725fa680a8db3cfa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-23Fix socket (de)activation at (de)installJosé Bollo3-0/+47
When installing or deinstalling, it is needed to issue a "systemctl (--user) restart sockets.target" This patch implement it on user side. To be improved. Change-Id: I152eb6a1cf5df50b1fe3143837d6d42ee6619349 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-23Fix daemon reload (to be improved)José Bollo2-1/+5
Change-Id: Ica099aa439e6c022de4982a58b0990065d932b0b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-23Fix socket activationJosé Bollo1-3/+6
Change-Id: Ic511bf717c61105003d750235229bfc50ee7fccd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-23Fix infinite loop in wgt_info_paramJosé Bollo1-0/+1
Change-Id: I8a623a40e48108c8999083667dae1230da2d206f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-20docs: fix book.json (headers/footers)Stephane Desneux1-2/+2
Change-Id: I7d997b9a8c17caa83e0e9c4f4611e0aac04be6b4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-06-20Merge "Auto generate cover from book.json fields."Stéphane Desneux3-2/+12
2017-06-20docs: add document revisionStephane Desneux3-244/+257
Change-Id: Ib98fae58d8a95dceea42347a5e46d6d39d565852 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-06-20Auto generate cover from book.json fields.Sebastien Douheret3-2/+12
Change-Id: I8203040b759289b08d5311a74e6df557fe8250bd Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-19docs: remove incomplete docs from bookStephane Desneux1-3/+0
Change-Id: I1ed6c95a906c086a010b302eca6a48c2a3ac3eef Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-06-19Fix pdf paging and make-units rendering (svg to png).Sebastien Douheret5-1653/+438
Change-Id: I60b5ab02602b993d8d92504b25f0a35d340d5444 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-19Fix spelling and images size.Sebastien Douheret7-85/+79
Change-Id: I01c6342fa9f6b16753ed5f48645538e48af09a5a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-19Re-order doc chaptersSebastien Douheret10-23/+23
Change-Id: I44cf2054fa06816480e26fc19b45c6f8a464a708 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-19Remove proposal statement.Sebastien Douheret1-2/+2
Change-Id: I5d63279149c46e095afeec97bfad3c61e40fedee Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-19Add gitbook documentation (support PDF generation).Sebastien Douheret20-11791/+2591
To generate PDF doc: ./gendocs.sh pdf To generate HTML doc (local webserver): ./gendocs.sh serve Change-Id: Ib9b195814f4596a5cf5233d6a331d206e76c9bae Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-19docs: minor enhancements, typo fixesStephane Desneux3-5/+5
Change-Id: Ic2cb29cb96e6542405736628f2d0cce995cb21ce Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-06-12Fix service name within socket unitsJosé Bollo1-4/+2
Change-Id: Ic8e562dd31a9bf7e3f1e22f0cda8e381242e3468 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-12fix binding version to 1José Bollo1-0/+1
Change-Id: I98e6de97e170b8cbb51b48e0e3cf7e52e6def7f9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-06-12Fix lack of error message on mustach issueJosé Bollo1-1/+24
Change-Id: I16139c133d7031e38f4c63ff6369f1d7478fc86f Signed-off-by: José Bollo <jose.bollo@iot.bzh>