Use glib for command line argument parsing until qt has proper support for this

Signed-off-by: Simon Busch <morphis@gravedo.de>
Only allow specific applications to run in headless mode

We're not going to support the headless mode anymore. We need to keep the number of web
process running in the whole system at the same time on a minimum and spawning more than
one per application doesn't make sense. If the application needs to do some background
activity it should use a service for this and trigger it through the activitymanager. To
respect already existing legacy applications we add a static list of applications with
this change we will grant the headless mode. The list should stay static and there should
be no need to extend it.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Refuse to open a new window for an application when not running in headless mode

Signed-off-by: Simon Busch <morphis@gravedo.de>
Remove left over debuging statements

Signed-off-by: Simon Busch <morphis@gravedo.de>
Activate stageReady when timeout is over instead of just showing the window

Signed-off-by: Simon Busch <morphis@gravedo.de>
Drop extra wrapper for the headless window around the app container

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

Signed-off-by: Simon Busch <morphis@gravedo.de>
Mark application as privileged or not as early as possible

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

Morphis/work
Rework application launch code to only use a application manifest as start point

Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't if page is still loading when going into stageReady

Signed-off-by: Simon Busch <morphis@gravedo.de>
Also accept application which have a predefined path for their entry point

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

Morphis/work
Reintegrate the PalmServiceBridge as user script implementation

Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't mark org.webosinternals applications as privileged

Signed-off-by: Simon Busch <morphis@gravedo.de>
Make it possible to compile everything with an unmodified qtwebkit

Signed-off-by: Simon Busch <morphis@gravedo.de>
baseplugin: add missing return statement

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

Morphis/work
Fix cmake variable name in sysbus configuration file

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

Fix cmake variable name in sysbus configuration file