Add app to security exception list

Security fix breaks application [OWEBOS-2899]

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: I3a4d93fd6f02033fce377262ff08502f1beb9ef3
emulator.pri: use the same config for qemux86-64 as qemux86 has

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Add description of current use of unstable branch

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@palm.com>

Change-Id: I480a7a9a73a011dc5b5cd525c8f7f34cd241b8b0
Add option to build out display timeouts

- Add HAS_DISPLAY_TIMEOUT define, should be defined in all machine targets that should be able to timeout the display
- Add above to device-known.pri for all known devices

[OWEBOS-2728]

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: Ice3bc3ada888e430949e613546a6bd665cde6033
Allow hosted clients to handle relaunch themselves

This patch adds a new application description parameter "handlesRelaunch".
When there is a relaunch request (launching an application already running)
we check this property. If the application does not provide it, we keep the
former behavior (just focusing first window we find).

But for applications with handlesRelaunch enabled, we just emit the new
IPC call named View_Relaunch, and we pass the call object as parameter.
In this case it is the application that should process the request doing
whatever is most convenient (launching a new window, plainly focusing an
existing window, ignoring the request, etc).

Open-webOS-DCO-1.0-Signed-off-by: Jose Dapena Paz <jose.dapena@palm.com>

Change-Id: I726d62b724508f79d51208bec4a71d8ff144d003
Change lunaservice to luna-service2

Apply change from t1 [OWEBOS-2771]

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: I6aa3f8ed239a970a28719e131e6f4f7cc7379326
Change USE_KEYMAPS to HAS_KEYMAPS

- Changed to match luna-sysmgr-ipc-messages
- Also switched a test in KeyboardMapping from TARGET_DESKTOP || TARGET_EMULATOR to !HAS_KEYMAPS

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: I1e93ac27a0cdebc98ae8fe9a7df29b401df13b16
Revert "Disable start of first-use application on startup"

This reverts commit 200e8172a546b56c752e65e371322eda80a5666a.

This will be added a patch in the OpenEmbedded layer again.

Conflicts:
	LunaSysMgr.upstart

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge remote-tracking branch 'origin/webOS-ports/master' into webOS-ports/master
Merge remote-tracking branch 'upstream/master' into webOS-ports/master

Conflicts:
	Src/base/KeyboardMapping.h
Add compilation and runtime configuration support for the tuna machine

The added configuration files contains some webOS-ports specific options related to the
ongoing UI scaling work which will be submitted upstream later.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge branch 'morphis/tuna-support' into webOS-ports/master

Conflicts:
	conf/luna-tuna.conf
	device-known.pri
Add compilation and runtime configuration support for the tuna machine

The added configuration files contains some webOS-ports specific options related to the
ongoing UI scaling work which will be submitted upstream later.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge branch 'morphis/tuna-support' into webOS-ports/master
MemoryMonitor: use /proc/*/oom_score_adj rather than /proc/*/oom_adj

On newer kernels /proc/*/oom_adj is deprecated and should not be used anymore. As Open
webOS requires at least a linux 3.3 kernel this changes the use to the new
/proc/*/oom_score_adj entry but still keeps backward compatiblity for older kernels which
onles provides /proc/*/oom_adj.

More information about the change are available on the following pages:
- https://github.com/mirrors/linux-2.6/commit/a63d83f427fbce97a6cea0db2e64b0eb8435cd10#include/linux/oom.h
- https://www.redhat.com/archives/lvm-devel/2011-July/msg00097.html

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
HostArm: close framebuffer file descriptors on shutdown

On the Galaxy Nexus I am seeing LunaSysMgr crashing a lot on startup because of a SEGV in
the Android EGL/GLES libraries. Having this change compiled in seems to fix this. Further
investigation is needed.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
HostArm: skip second framebuffer initialization correctly

On some platforms we don't have a second framebuffer so until now some statements in the
init method where never reached on these platforms.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
HostArm: initialize number of fb1 buffers correctly to zero

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge branch 'morphis/hostarm-fixes' into webOS-ports/master
Merge branch 'morphis/oom' into webOS-ports/master

Conflicts:
	Src/base/MemoryMonitor.cpp