summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-02-13Add gitlab issue/merge request templatesHEADsalmon_18.90.0salmon/18.90.0ricefish_17.90.0ricefish/17.90.018.90.017.90.0masterJan-Simon Moeller2-0/+6
Add template files for gitlab Bug-AGL: SPEC-4474 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic7897f797a0df7eb7efbb149838c5e5886e6a554
2023-05-20Remove remaining D-Bus piecesDenys Dmytriyenko1-3/+1
Following the removal of D-Bus interface in applaunchd, remove remaining D-Bus pieces in launncher as well. Bug-AGL: SPEC-4801 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Change-Id: I404ebc5166c89f6b101ac83443f00ae9657db477
2022-09-10Rework to use launcher wrapper from libqtappfwScott Murray8-259/+45
Switch to using the new app launcher API wrapper from libqtappfw in order to migrate to the new gRPC based API implementation. As well, the copyright headers in the source files have been tweaked to remove the Apache license boilerplate in favour of a SPDX license tag. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I62cd0a51e9c97b1db3d86ca67b7c92d086d2f1c9
2022-02-18launcher: Enable scrolling for the GridView to display more appsneedlefish_13.93.0needlefish/13.93.013.93.0Marius Vlad6-186/+132
This enables the GridView to allow scrolling and implicitly be able to display more than a dozen of applications. The interactive mode controls whether this is enabled or not, if the items is higher than what the grid can contain (which is 4x3 in our current item cell dimension). If interactive is enabled we use vertical scrolling, with some commented out examples on how to enable horizontal scrolling. In tests, horizontal scrolling caused some animation artefacts while vertical seemed to behave much more reliable. With it, we simplify the QML considerably by removing IconItem. Most of the functionality has been retained, being copy-pasted from IconItem like displaying icons, or using the first letter of the application name in case there's no icon. Note that this change removes The icon movement entirely, which seemed to cause quite a bit of issues while draging/dropping scrolling in the the grid itself. This seems to remove one feature for another, but by just enabling interactive resulted in a jerky inconsistent animation. Bug-AGL: SPEC-3028 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I64810dbd7ef014ed0473fd92df67807d10cc36ba
2022-01-13package: Added launcher desktop filemarlin_12.93.0marlin_12.92.0marlin/12.93.0marlin/12.92.012.93.012.92.0Marius Vlad3-1/+19
Bug-AGL: SPEC-4214 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ibadc6657dc3bc96f876e9d427023d5fe19b9533e
2021-12-20launcher: rely on applaunchd for application startupmarlin_12.91.0marlin/12.91.012.91.0Arnaud Ferraris6-26/+76
In the new App FW setup, `launcher` should only instruct `applaunchd` to execute an application. In order to do so, it must first build a list of available applications by looking for and parsing `.desktop` files in relevant folders. Then, when an application must be started, it has to call the corresponding `applaunchd` method through D-Bus, which will then handle the application startup using either command line execution or D-Bus activation. Bug-AGL: SPEC-4159 SPEC-4160 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: Ie2f55a5acb64ed90aa6aafb687c927d87f6cc0aa
2021-12-10Remove dependency on old application framework and waylandArnaud Ferraris47-7152/+30
As the Application FW is being reworked, drop all related dependencies in order to start with a simpler initial implementation. This commit also drops wayland-related code as it won't be needed anymore with the new framework. Bug-AGL: SPEC-4159 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: Id268e1feee363c60b85411e822103259c1071a24
2021-07-01launcher.pro: Use system() to figure out where to pull the protocolmarlin_12.90.1marlin/12.90.112.90.1Marius Vlad2-143/+2
Bug-AGL: SPEC-3423 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie93f0fd68943c1f7cb17f838cfb73b336e481239
2020-06-30shell-desktop.h: Avoid mass activation of applications frommarlin_12.90.0marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.212.90.011.92.011.91.010.93.010.92.010.91.0Marius Vlad1-7/+10
application_id event I failed to realize that the application_id event is sent at binding, which is not an issue when launcher is the only application running, but obviously a big one if multiple surfaces are already present, and launcher is re-started (so not really something we test). Added also a note to say a few words about that. We already activate by default surfaces, and we embedded the activation call-out into the agl_shell_desktop protocol in that tapShortcut QML, so we don't actually need further handling. This was just a toy example. Fix indentation while at it. Bug-AGL: SPEC-3464 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I46889c5fabdb3936089301b92207b896e4c47ae3
2020-06-25launcher/src/shell-desktop: Fix missing declaration for setting windowjellyfish_9.99.1jellyfish/9.99.19.99.1Marius Vlad1-1/+2
properties Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ief63f2775f28d02264b17195b330451b06b9ccdc
2020-06-24Update protocol to other surface rolesMarius Vlad2-5/+36
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ic0f57a1061d6d01bfcb43e90d45ab23a27815382
2020-06-24Launcher.qml: Use Window widths/heights instead of using the ScreenMarius Vlad1-2/+2
Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie6ef5238953ad28de2b53476a61a5c547a7ecc9c
2020-06-24homescreenhandler: Add the ability to specify the output based on theMarius Vlad5-4/+41
screen Pass the output when activing the surface in Launcher.qml Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I4b8f03c90712290f580a570cd2644a4bc44687c5
2020-06-24agl-compositor: New adaptation to using the agl-shell-desktop protoMarius Vlad9-65/+394
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I3fc7375a7a8716cc1352658cfc194645bf7f638c
2020-06-09Update autobuild scriptsScott Murray4-112/+139
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I94403dff83267b8a16d675875c77f2f32dd77c8d
2020-04-02update autobuild scriptsRaquel Medina2-29/+111
Modify autobuild scripts: - to fix warnings on yocto build - to fix linux/autobuild syntax errors - to add new standard targets Bug-AGL: SPEC-2049 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I452f6a47107299bed663f1702c704350ffe8a6d7
2020-01-27launcher: remove unused DBus code artifactsicefish_8.99.5icefish/8.99.58.99.5Matt Ranostay17-684/+9
All accesses to control launching applications are now done via agl-service-homescreen/libhomescreen, and thus the unused DBus interface can be removed. Bug-AGL: SPEC-3137 Change-Id: I27f5afd89bd15eb50486e2546a730e40f016b05e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-12-30Merge "Change radio application icon"Jan-Simon Moeller2-580/+449
2019-12-29Change radio application iconScott Murray2-580/+449
Change radio application icon to the commonly used "radio waves" instead of a microphone to avoid confusion with the use of the microphone icon in the settings and homescreen applications for voice input related things. Bug-AGL: SPEC-2981 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia40b5c3d72b6708b6918e7958da7c1e66ef9308b
2019-11-22fix(main.cpp): remove unused function noOutputicefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.48.99.38.99.2Li Xiaoming1-4/+0
Bug-AGL: SPEC-2807 Change-Id: Ieb3174a740e52f5ca46af0290ec302e4f5b800fe Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-09-27fix(IconItem.qml): Remove qml M126 warningicefish_8.99.1icefish/8.99.18.99.1Li Xiaoming1-1/+1
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I96de9ecace7ea519946c0df739db9753d44d2dfd Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-04-26Add permission to use displayhalibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1José Bollo1-0/+1
Add the permission required to access the display through the wayland socket. Change-Id: I13ed5339a7cd48d9b49748a070e12b4fbd3c9a56 Bug-AGL: SPEC-2357 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-04-01Start app and get runnables list by homescreenwang_zhiqiang10-144/+506
1.only call showWindow when start application. 2.get runnalbes list from homescreen-service. 3.subscribe and deal with Event_AppListChanged. 4.move LICENSE file to top-level directory. 5.sort application by application name with ascending order. Bug-AGL: SPEC-2188 Change-Id: Ic960e25d8de8d063296298a1897865dc3026dee6 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-27Revert "Start app and get runnables list by homescreen"Jan-Simon Moeller10-500/+144
https://gerrit.automotivelinux.org/gerrit/#/c/20559/ and https://gerrit.automotivelinux.org/gerrit/#/c/20223/ caused the launcher not to display any icons. Reverting until resolved. This reverts commit 607fdc0374e76a272455cc010f35693ba8b6894b. Change-Id: I3040f0a44b8cfc449e57c27e32ed631fc98b34fd
2019-03-27Revert "Sort application display order"Jan-Simon Moeller1-7/+1
https://gerrit.automotivelinux.org/gerrit/#/c/20559/ and https://gerrit.automotivelinux.org/gerrit/#/c/20223/ caused the launcher not to display any icons. Reverting until resolved. This reverts commit 259a07d696b455f22b13edcae107de67079036f3. Change-Id: Icdb2accf003cdf9d76a5a69bce3fef0b218093ea
2019-03-25Sort application display orderwang_zhiqiang1-1/+7
Sort application by application name with ascending order. Change-Id: I778cc6a5a69496023abe4ecbab54bd686ce95594 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-25Merge "Start app and get runnables list by homescreen"Jan-Simon Moeller10-144/+500
2019-03-22Start app and get runnables list by homescreenwang_zhiqiang10-144/+500
1.only call showWindow when start application. 2.get runnalbes list from homescreen-service. 3.subscribe and deal with Event_AppListChanged. 4.move LICENSE file to top-level directory. Bug-AGL: SPEC-2188 Change-Id: If0ce87a2f770b1a06ba72fdb087a24719d92d124 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2019-03-08autobuild: introduce autobuild scriptsRaquel Medina2-0/+120
- Add agl autobuild script to silence build warnings on yocto. - Add linux autobuild script to build with the sdk These 2 scripts are based on the latest version of the autobuild script, but they've been customized to (i) work with the existing qmake files and (ii) the 'update' and 'package-test' targets have been removed. Bug-AGL: SPEC-2164 Change-Id: I5da155ab9d6e0f75d637be5997054cefa52f5e2c Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-01-11Use Event_ShowWindow instead of Event_TapShortcutwang_zhiqiang1-3/+3
The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: Ia8e100483fd1a418789483169c815847d2b64b11 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-11-06use appid instead of appname in "tap_shortcut"halibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.17.90.06.99.46.99.36.99.26.99.1wang_zhiqiang4-11/+10
Now In homescreen-service used application_id to identify different application, so use appid instead of appname in "tap_shortcut" parameter. Bug-AGL: SPEC-1764 Change-Id: Ia7004dbbc9851e95f959e551e0427c9dc308eb9b Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-10-13fix issue,call tap_shortcut carelesslywang_zhiqiang1-1/+4
the scenes as below not call tap_shortcut 1)when touch blank 2)long press or move icon Change-Id: I13f2d1833af323da19ce2521cd2be6188fe1bb7a Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa4-10/+11
This reverts commit 5fbb59e80e4f870a1badd694d2efcd8cd941cdfb. Bug-AGL: SPEC-1685 Change-Id: Idd71625415b79cff6ab76b6179236d946a5aab41 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-19Fix short height of background imageTadao Tanikawa2-5/+2
Recently window manager changed the homescreen layout, the height for application changed from 1487 to 1488 css pixel. Before reworking about multiple resolution, this causes unexpected stretch of background image. After, this causes short of height of background. Bug-AGL: SPEC-1611 Change-Id: I05a55f3dc4f4444dc681b8b35db0e99d6c1aeb35 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong4-11/+10
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: I02a87f289c6da0a86012fd304fb1f2d2452ee990 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Merge "Improve output of multiple screen resolution"Jan-Simon Moeller2-23/+28
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa2-23/+28
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I6e71fd0a2c9cf5fbcf23ea529a094b74da6c1841 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-07-31Change hide icon source with containszheng_wenlong1-2/+4
If homescreen repo use homescreen without "-2017", Launcher need hide icon for homescreen or "-2017". So change the code compare with application id. Change-Id: If1d33ea1718909626b1a04f128ee9b385bc2d447 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-07-19[HACK] Resolve race condition when bootingflounder_5.99.2flounder/5.99.25.99.2Tadao Tanikawa1-0/+11
If HomeScreen comes after Launcher is launched, HomeScreen will miss all app's icons. This hack is for resolving the race condition between HomeScreen and Launcher when system booting. Time of delay can be adjust by environment variable, 'HMI_LAUNCHER_STARTUP_DELAY'. The default delay time is 1 sec. Bug-AGL: SPEC-1471 Change-Id: Ied744c3e322203e66dd17d68dd783ad8f5cd3880 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-06-27Detach launcher application from HomeScreenzheng_wenlong62-0/+8228
Detach launcher application from Homescreen, Use qlibhomescreen instead of homescreenhandle. [Patch sets 3] This application needs qlibhomescreen, add into sdk in 14597. [Patch sets 4] Right now add qlibhomescreen class into src for instead. Delete it after qlibhomescreen is add into sdk. [Patch sets 5] From Jan-Simon advise, waitting for qlibhomescreen sdk. So return to Patch sets 3. Relative commit: https://gerrit.automotivelinux.org/gerrit/#/c/14597/ Task-AGL: SPEC-1518 Change-Id: Ia16aecddd2bf4623038a84254a0c56967ace9b92 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-06-14Initial empty repositoryflounder_5.99.1flounder/5.99.15.99.1Jan-Simon Moeller0-0/+0