summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Jan-Simon Moeller [Fri, 5 Aug 2022 21:52:27 +0000 (23:52 +0200)]
Add gitreview file for Nifty Needlefish branch
Update the .gitreview file.
Bug-AGL: SPEC-4518
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Id8f9d0500bf67743fc34eee5e87d065fa6a9d088
Marius Vlad [Fri, 11 Feb 2022 15:05:40 +0000 (17:05 +0200)]
launcher: Enable scrolling for the GridView to display more apps
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
Marius Vlad [Thu, 13 Jan 2022 10:17:11 +0000 (12:17 +0200)]
package: Added launcher desktop file
Bug-AGL: SPEC-4214
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ibadc6657dc3bc96f876e9d427023d5fe19b9533e
Arnaud Ferraris [Fri, 10 Dec 2021 11:44:27 +0000 (12:44 +0100)]
launcher: rely on applaunchd for application startup
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
Arnaud Ferraris [Fri, 10 Dec 2021 11:28:47 +0000 (12:28 +0100)]
Remove dependency on old application framework and wayland
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
Marius Vlad [Thu, 1 Jul 2021 10:05:39 +0000 (13:05 +0300)]
launcher.pro: Use system() to figure out where to pull the protocol
Bug-AGL: SPEC-3423
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie93f0fd68943c1f7cb17f838cfb73b336e481239
Marius Vlad [Mon, 29 Jun 2020 20:54:18 +0000 (23:54 +0300)]
shell-desktop.h: Avoid mass activation of applications from
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
Marius Vlad [Thu, 25 Jun 2020 13:39:53 +0000 (16:39 +0300)]
launcher/src/shell-desktop: Fix missing declaration for setting window
properties
Bug-AGL: SPEC-3447
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ief63f2775f28d02264b17195b330451b06b9ccdc
Marius Vlad [Wed, 24 Jun 2020 13:47:44 +0000 (16:47 +0300)]
Update protocol to other surface roles
Bug-AGL: SPEC-3447
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic0f57a1061d6d01bfcb43e90d45ab23a27815382
Marius Vlad [Fri, 29 May 2020 10:36:35 +0000 (13:36 +0300)]
Launcher.qml: Use Window widths/heights instead of using the Screen
Bug-AGL: SPEC-3379
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie6ef5238953ad28de2b53476a61a5c547a7ecc9c
Marius Vlad [Fri, 29 May 2020 10:30:15 +0000 (13:30 +0300)]
homescreenhandler: Add the ability to specify the output based on the
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
Marius Vlad [Tue, 28 Apr 2020 22:21:44 +0000 (01:21 +0300)]
agl-compositor: New adaptation to using the agl-shell-desktop proto
Bug-AGL: SPEC-3447
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3fc7375a7a8716cc1352658cfc194645bf7f638c
Scott Murray [Wed, 10 Jun 2020 02:05:27 +0000 (22:05 -0400)]
Update autobuild scripts
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
Raquel Medina [Thu, 2 Apr 2020 13:37:51 +0000 (15:37 +0200)]
update autobuild scripts
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
Matt Ranostay [Mon, 27 Jan 2020 20:37:45 +0000 (12:37 -0800)]
launcher: remove unused DBus code artifacts
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>
Jan-Simon Moeller [Mon, 30 Dec 2019 14:39:39 +0000 (14:39 +0000)]
Merge "Change radio application icon"
Scott Murray [Sun, 29 Dec 2019 22:12:07 +0000 (17:12 -0500)]
Change radio application icon
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
Li Xiaoming [Fri, 22 Nov 2019 09:30:25 +0000 (10:30 +0100)]
fix(main.cpp): remove unused function noOutput
Bug-AGL: SPEC-2807
Change-Id: Ieb3174a740e52f5ca46af0290ec302e4f5b800fe
Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Li Xiaoming [Fri, 27 Sep 2019 12:02:10 +0000 (20:02 +0800)]
fix(IconItem.qml): Remove qml M126 warning
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>
José Bollo [Fri, 26 Apr 2019 13:52:55 +0000 (15:52 +0200)]
Add permission to use display
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>
wang_zhiqiang [Mon, 1 Apr 2019 09:15:34 +0000 (17:15 +0800)]
Start app and get runnables list by homescreen
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>
Jan-Simon Moeller [Wed, 27 Mar 2019 16:36:08 +0000 (16:36 +0000)]
Revert "Start app and get runnables list by homescreen"
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
Jan-Simon Moeller [Wed, 27 Mar 2019 16:34:53 +0000 (16:34 +0000)]
Revert "Sort application display order"
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
wang_zhiqiang [Tue, 12 Mar 2019 08:47:27 +0000 (16:47 +0800)]
Sort application display order
Sort application by application name with ascending order.
Change-Id: I778cc6a5a69496023abe4ecbab54bd686ce95594
Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Jan-Simon Moeller [Mon, 25 Mar 2019 11:21:01 +0000 (11:21 +0000)]
Merge "Start app and get runnables list by homescreen"
wang_zhiqiang [Wed, 20 Feb 2019 09:08:32 +0000 (17:08 +0800)]
Start app and get runnables list by homescreen
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>
Raquel Medina [Fri, 8 Mar 2019 14:01:41 +0000 (16:01 +0200)]
autobuild: introduce autobuild scripts
- 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>
wang_zhiqiang [Fri, 11 Jan 2019 06:40:14 +0000 (14:40 +0800)]
Use Event_ShowWindow instead of Event_TapShortcut
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>
wang_zhiqiang [Tue, 6 Nov 2018 02:11:36 +0000 (10:11 +0800)]
use appid instead of appname in "tap_shortcut"
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>
wang_zhiqiang [Sat, 13 Oct 2018 08:56:30 +0000 (16:56 +0800)]
fix issue,call tap_shortcut carelessly
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>
Tadao Tanikawa [Fri, 24 Aug 2018 04:44:33 +0000 (04:44 +0000)]
Revert "Use appid between homescreen-service and apps"
This reverts commit
5fbb59e80e4f870a1badd694d2efcd8cd941cdfb.
Bug-AGL: SPEC-1685
Change-Id: Idd71625415b79cff6ab76b6179236d946a5aab41
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Tadao Tanikawa [Sun, 19 Aug 2018 13:47:45 +0000 (13:47 +0000)]
Fix short height of background image
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>
zheng_wenlong [Mon, 6 Aug 2018 03:05:59 +0000 (12:05 +0900)]
Use appid between homescreen-service and apps
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>
Jan-Simon Moeller [Thu, 2 Aug 2018 14:42:12 +0000 (14:42 +0000)]
Merge "Improve output of multiple screen resolution"
Tadao Tanikawa [Wed, 1 Aug 2018 07:07:49 +0000 (07:07 +0000)]
Improve output of multiple screen resolution
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>
zheng_wenlong [Mon, 30 Jul 2018 08:40:21 +0000 (17:40 +0900)]
Change hide icon source with contains
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>
Tadao Tanikawa [Thu, 19 Jul 2018 13:33:13 +0000 (13:33 +0000)]
[HACK] Resolve race condition when booting
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>
zheng_wenlong [Tue, 19 Jun 2018 06:00:46 +0000 (15:00 +0900)]
Detach launcher application from HomeScreen
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>
Jan-Simon Moeller [Thu, 14 Jun 2018 15:40:16 +0000 (15:40 +0000)]
Initial empty repository