Merge pull request #30 from webOS-ports/tofe/work

Tofe/work
Avoid warning about unused variable

Signed-off-by: Simon Busch <morphis@gravedo.de>
Correct service client name to pass ls2 security checks

Signed-off-by: Simon Busch <morphis@gravedo.de>
Pass windowDestroyed signal to QML and use correct way to set fullscreen surface

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #31 from webOS-ports/morphis/work

Some small fixes
plugins: settingsadapter: make all properties constant to avoid QML errors

Fixes the following runtime errors:

QQmlExpression: Expression qrc:///qml/main.qml:121 depends on non-NOTIFYable properties:
    luna::SettingsAdapter::displayWidth
    luna::SettingsAdapter::displayHeight
QQmlExpression: Expression qrc:///qml/main.qml:93 depends on non-NOTIFYable properties:
    luna::SettingsAdapter::displayFps

Signed-off-by: Simon Busch <morphis@gravedo.de>
plugins: lunaserviceadapter: implement proper error handling

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #32 from webOS-ports/morphis/work

Fixes and proper luna service error handling
plugins: lunasettingsadapter: add splashIconSize property

Signed-off-by: Simon Busch <morphis@gravedo.de>
Rework window handling on native compositor side

Closed windows currently not leading to the remote client application being closed as
well. This needs some more work which will be added on top of this.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Enforce quiting all native clients but not our WebAppMgr

Native applications are only allowed to be executed as long as they have a valid window.
If their window gets swiped the application gets closed as well.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add some more settings properties to our adapter

Signed-off-by: Simon Busch <morphis@gravedo.de>
Remove unnecessary prefix from item usage

Signed-off-by: Simon Busch <morphis@gravedo.de>
Drop explicit signal/slot connection from compositor implementation

Signed-off-by: Simon Busch <morphis@gravedo.de>
Get correct font from settings for the statusbar

Signed-off-by: Simon Busch <morphis@gravedo.de>
Move compositor implementation into the QML plugin

Signed-off-by: Simon Busch <morphis@gravedo.de>
Rework directory layout to represent the new shell concept

We're going to make luna-next captable of loading one specific shell on startup so the
user can switch between different implementations if he wants. Currently it's not possible
to load another shell but this will be implemented soon through a plugin mechanism.

The cardshell will be maintained within another repository.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement shell application to be able to load different shells on startup

* shells are stored in /usr/palm/luna-next/shells
* each shell needs a manifest.json file to define some common settings values
* default shell is "card" but can be replaced by specifying a environment variable called
  LUNA_NEXT_SHELL

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #33 from webOS-ports/morphis/work

Implement shell loading mechanism and other fixes
Implement simple cache for service handles

* reusing already existing service handles for multiply instances of the
  LunaServiceAdapter component with the same service name makes sense in order to limit
  the number of used l2 connections

Signed-off-by: Simon Busch <morphis@gravedo.de>