Merge pull request #1 from webOS-ports/tofe/teststub-update

Tests: update the stub code to match the current binary LunaNext module.
Naming review: use more consistent names through the project

 * compositor.js has been cleaned up and is now renamed as "WindowManagerServices.js".
 * The compositor create a "window", which is the basic Wayland window exposed an an Item
 * The WindowManager instance is now named "windowManager" instead of "root"
 * The window manager wraps that window in a "windowWrapper", which contains informations about the current state of the window. The "windowContainer" and "appWindow" namings don't exist anymore.
 * The rest of the project always uses the windowWrapper as a basic input.
 * Some documentation about the respective roles of Compositor and WindowManager has been added in main.qml

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Improve the launch of apps

 * Implement a stub "launch" LS2 service
 * start the DummyWindow through this new "launch" LS2 call.
 * create a LaunchableAppIcon class to represent an icon (with an optional title text) that can start the corresponding app when clicked.

Also, reorganize a bit the way the LS2 LunaNext service is instantiated, to have only one instance of the service.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #2 from webOS-ports/tofe/work

Tofe/work: naming and launcher improvements
Arguments passed/retrieved to/from LunaService must be stringify/parsed

Due to the internal implementation of the LunaService component it's currently required to
stringify/parse the JSON arguments when calling a service method or retrieving a response.

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

Arguments passed/retrieved to/from LunaService must be stringify/parsed
More naming rework, and better launcher show/hide animations.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #4 from webOS-ports/tofe/work

More naming rework, and better launcher show/hide animations.
CardView: move the trigger of the startup animation for the first card display to the card window wrapper

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Launcher: Fix the icons display, and refactorize the code for launching an application so that it is based on events and so that its management is regrouped in the parent Launcher class

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Tests: add more test icons in the full launcher, to have the different situations for app title display

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #5 from webOS-ports/tofe/work

Improvement of card creation, launcher display and app launch architecture
Fixes for the destruction of a window, either from compositor's side or from card view's side.

Note: this PR takes into account the change of name of the property "id" of the window object.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
NotificationContainer: add rounded corners

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #6 from webOS-ports/tofe/work

Fixes for the destruction of a window, either from compositor's side or ...
CardView: fix to actually destroy the cardWindow

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Notifications: minor esthetical changes

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Rounded corner: use a shorter radius

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Launcher: fix javascript issue when the launch of an application fails

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #8 from webOS-ports/tofe/work

Tofe/work: Destroy window fix and minor esthetical changes