LockWindow::requiresPasscode check policy before returning true

Previous behavior checked only if an EAS Policy was pending. New
behavior checks that and also checks if a password is required in the
Policy.  By default it is not.

This should eliminate the annoyance of being required to set a PIN
on unlock when it is not in fact required.

Take fix for LockWindow::requiresPasscode [OWEBOS-2735]

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

Change-Id: I380601039f0f3687c296105de7f967afc0dea571
Add Memory->AllowAllAppsInLowMemory setting

- Add AllowAllAppsInLowMemory setting to [Memory] section of luna.conf
- Allows a platform to force all apps to run regardless of memory condition

Add option to disable preventAppUnderLowMemory [OWEBOS-2730]

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

Change-Id: I8694a145d55ed1fbeba9a604420cf0d51b010da1
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
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>
security: when it's not possible to write the passcode fail with appropiate error

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Create /var/luna/data directory on startup if it does not already exists

When setting a passcode for the lockscreen the security controller creates a file to save
the passcode in /var/luna/data.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Improve destructor of SysMgrWebBridge

Reset children SysMgrWebBridge's parent to current parent to avoid
double free for SysMgrWebBridge object when remove card from group

Fixes OWEBOS-2065

Open-webOS-DCO-1.0-Signed-off-by: Yi Zheng <yi.zheng@palm.com>

Change-Id: Icab4350cad04173e9076d91beb9b93bfb2d4fd13
Fix multi-line line endings for qt5 qmake

qt5's qmake aborted on lines that didn't have the proper "\" at end, as well as multi-line parts that had dead whitespace at the end

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

Change-Id: If509f4a3502af50b1368046dc9a948d4c591d79f
Implement keyboard plugin discovery

Open-webOS-DCO-1.0-Signed-off-by: Teppo Pennanen <teppo.pennanen@palm.com>

Change-Id: I65b8e5128d065ee940a05f752e4861ad9efe446d
Add dpi and locale parameters to VKB interface

Open-webOS-DCO-1.0-Signed-off-by: Teppo Pennanen <teppo.pennanen@palm.com>

Change-Id: Iab90535e432b1266a1fd9eafed5e154b076d6b63
Doxygen documentation for VKB interfaces

Open-webOS-DCO-1.0-Signed-off-by: Jaakko Putaala <jaakko.putaala@palm.com>

Change-Id: I0fe73423f686cdd57cae490142f5b496fba992ed
Remove IME related source files

The removed files have been split to keyboard-efigs
and luna-webkit-api.

Open-webOS-DCO-1.0-Signed-off-by: Teppo Pennanen <teppo.pennanen@palm.com>

Change-Id: I29ce410c52aed40018282c3c3aebf43e2a69d0c9
Add locale and dpi parameters to creating an IME

Open-webOS-DCO-1.0-Signed-off-by: Jaakko Putaala <jaakko.putaala@palm.com>

Change-Id: I40d52e2cbc9ce33c3321ae664f8c66bc49d4e182
Fix build issue in OE-Core/Nova-Main

Incorrect path in sysmgr.pro file caused IMEData and
IMEDataInterface related linker errors in OE-Core
and Nova-Main.

Open-webOS-DCO-1.0-Signed-off-by: Teppo Pennanen <teppo.pennanen@palm.com>

Change-Id: I271ec80c404affb6ac2c36078e6cda967e00eb87