summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-07Add scaling mode to demo screenicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut_7.90.0halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.1halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy_6.90.0guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.1guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder_5.99.1flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.2flounder/5.99.1eel_4.99.3eel_4.99.2eel_4.99.1eel/4.99.3eel/4.99.2eel/4.99.18.99.58.99.48.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.17.90.06.99.46.99.36.99.26.99.16.90.05.99.65.99.55.99.45.99.35.99.25.99.14.99.34.99.24.99.1halibutTakashi Matsuzawa2-34/+123
Bug-AGL: SPEC-791 Avoid demo screen being stretched and distorted on non full-HD display. Instead, we should fit it on target display but also keeping demo screen aspect ratio. This change has no impact on fiull-HD displays since the behavior is the same. In addition to "fit" option (now default), "stretch" (previous default) and "no" modes are provided for convenience. Update: Add content modes that seems to be common. Instead of integer value but string ids are used to specify desired mode. Update2: Do not rely on copmiler for redundant calls to strcmp Use signed type to avoid redundant type casting Update3: Fixing typo, adding comments, error case handling Update4: (Tadao Tanikawa) Calculating the geometry of layer (named root layer) once when WindowManager initialized and each app's layer inherits it. Update5: (Tadao Tanikawa) Clean up compiler warnings Update6: (Tadao Tanikawa) Clean up compiler warnings Change-Id: Ibb797ebea65062fdda7eccc5b7fc246a6b602e98 Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-07-13Fix the issue early launched apps before HomeScreenTadao Tanikawa2-59/+111
WindowManager uses the pid to manage app's surface and layer and the pid is from creatorPid of ivi-surface. It used to be the same value as afm-util returns when apps launched via HomeScreen. After new AGL application framework has come, afm-util no longer returns the same value as creatorPid. So commit 4cb274 and bb3369 are introduced, then WindowManager started to use process group or session instead of pid which is returned by afm-util. But inside WindowManager pid which returned by afm-util is still used to detect ivi surface for app. It is registered when app is launched via HomeScreen and it is retrived by app's process group or session from creatorPid when ivi-surface has been created. Because this logic of pid conversion was incomplete, it caused the issue which early launched app has never been shown even when user try to launch it via HomeScreen. This patch introduces quick hack to resolve this issue and improve the surface management in WindowManager. Bug-AGL: SPEC-745 Change-Id: Iafa2e56c07b3c3a2eff23ff75cdedb3226d7f55a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-07-05Revert "Revert "Fix issue of app's unexpected stop while background""Tadao Tanikawa3-85/+94
This reverts commit c1e525621d49621421f79bc2134a9cb00b4cf2cb. The commit f95ec0 depends on the change of apps/homescreen. (https://gerrit.automotivelinux.org/gerrit/#/c/9829/). Change-Id: Iff48e71a902823e17d032c55ecfc431429151f49 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-06-30Revert "Fix issue of app's unexpected stop while background"Jan-Simon Moeller3-94/+85
This reverts commit f95ec0c0142472aeaa1de8994ee4ad860fd3ad54. Breaks visibility. Reverting on dab and master. Please resubmit a fixed version. Tnx. Change-Id: Ic5afcd1034ab7af45b44e45bb8164f1827788afb
2017-06-27Fix issue of app's unexpected stop while backgroundTadao Tanikawa3-85/+94
Current window manager make own ivi-layer to each application and adjust the order when rendering (screen's render order of layers). E.g. When showing apps launcher, window manager has only 1 ivi-layer for homescreen under screen 0. When showing an app, window manager add 1 ivi-layer for it and set render order of 2 layers, front: app's and back: homescreen layer. And when app hides, it's layer is removed from render order. But if removed from render order, excecuting QML also stopped. It is caused why the media player doesn't play next song when it is not shown. This patch changes how to make render order to keep media player/navigation's layer in render order even when it is not shown. Bug-AGL: SPEC-395 Change-Id: I01f9705a8d2f6c6fbee317b5297ce8f3715a7d39 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-04-26Remove useless "User=" from servicedab_3.99.1dab/3.99.13.99.1Ronan Le Martret1-1/+0
The service run has systemd user unit, so "User=" is useless Bug-AGL: SPEC-546 Change-Id: Iea3d9b3a26a85cdad55ac2e22115fe361695491c Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-03Record surfaces without applicationJosé Bollo1-6/+6
Recording surfaces even for unknown applications improves the system by eliminating possible race conditions and by allowing applications to be started in background. AGL-Issue: SPEC-520 Change-Id: I7ee77d0c2fe419fa2dfaa48b1590e7ef4e82f8e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-24Allow to use process group or session instead of pidJosé Bollo2-0/+73
This is needed to allow the new application framework to display surfaces. The mechanism is as follows: if the pid of the creator of a surface isn't registered, the master of the process group it belongs to is used instead or else the master of the session group. Change-Id: I696e2519f919fb671e8a325615609e35a3c7ffe2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-24Factorize common code in 'renderLayers'José Bollo2-20/+14
The code factorized was present 4 times in the code. Factorizing it improves the overall. Change-Id: I94833679fcd366796b332259ebac5ecac5fc047c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-03-08Fixed WindowManager startupRonan Le Martret1-0/+10
* WindowManager must start only when weston is ready. [SPEC-470] Change-Id: I441719acd72f022eb150ebb73047d805fc644dbc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-02-14Add .mailmap file to clean up statsBocklage, Jens1-0/+3
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-20Fix execution path in .service fileBocklage, Jens1-1/+1
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-18Initial source commitBocklage, Jens21-0/+2032
Taken from https://gerrit.automotivelinux.org/gerrit/p/staging/HomeScreen.git Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-17Add .gitignore and .gitreviewBocklage, Jens2-0/+131
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
2017-01-16Initial empty repositoryJan-Simon Moeller0-0/+0