Pop pack pragma on x86 QNX

A recent patch fixing QNX on x86 forgot to also pop the pragma it set.

Change-Id: I9834c0b57a4409e8e80c29899e6f3989607fe22f
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
[Windows] Also check for QApplication::style when animating buttons.

The fallback style for a custom style sheet is QApplication::style(),
which defaults to QWindowsVistaStyle on most (if not all)  windows
systems.

Task-number: QTBUG-39400
Change-Id: Ib05571033730ed26a39f89d8e9fe948c4b280e64
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Do not schedule navigation to invalid URL

Fix an assert triggered by navigation to a fragment URL of an unset
URL. The code was assuming the string given was a valid encoded
URL, so we shouldn't continue if the completed URL is invalid.

Task-number: QTBUG-38546
Change-Id: I377b09814150ae9926de95efe3f3e2e750145c4a
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Implement additional properties for QQuickWebView to control injection of user scripts

Upstream-Status: Inappropiate [enable feature]

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

Taken from https://github.com/isis-project/WebKit

Upstream-Status: Inappropiate [other]

Signed-off-by: Simon Busch <morphis@gravedo.de>
Disable low-level interpreter

It's causing the web process to segfault at:

0  0x00000000 in ?? ()
1  0x414771be in JSC::LLInt::llint_slow_path_resolve_base (exec=0x48a1f038, pc=0x46f5a018)
    at /usr/src/debug/qtwebkit/5.1.0+gitAUTOINC+1e4dd5844b-r0/git/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:823
2  0x414771be in JSC::LLInt::llint_slow_path_resolve_base (exec=0x48a1f038, pc=0x46f5a018)
    at /usr/src/debug/qtwebkit/5.1.0+gitAUTOINC+1e4dd5844b-r0/git/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:823

Upstream-Status: Inappropiate [other]

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement handling of window management related callbacks from WebProcess

Upstream-Status: pending [https://qt.gitorious.org/qt/qtwebkit/]

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add another preference option to enable forwarding of console messages to system log

Upstream-Status: pending [https://qt.gitorious.org/qt/qtwebkit/]

Signed-off-by: Simon Busch <morphis@gravedo.de>
Extend qt navigator object to be able to exchange synchronous messages

Upstream-Status: pending [https://qt.gitorious.org/qt/qtwebkit/]

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement preference option to enable privileged ls2 bus usage

Upstream-Status: Inappropiate [new platform specific feature]

Signed-off-by: Simon Busch <morphis@gravedo.de>
Make navigator qt object available for all frames

Signed-off-by: Simon Busch <morphis@gravedo.de>
PalmServiceBridge: set correct identifier so ls2 calls are done under the right name

Signed-off-by: Simon Busch <morphis@gravedo.de>
Force platform name in default user agent to WebAppManager

enyo detects platform support by analyzing the user agent string and searches for
WebAppManager to detect Open webOS. As we're not going to write our own webOS platform
integration plugin to provide a proper value for QGuiApplication::platformName we add
the "WebAppManager" string here statically.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Tools: qmake: features: always use glib

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement page suspend/resume handlers

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add preference option for luna service identifier

Signed-off-by: Simon Busch <morphis@gravedo.de>
PalmServiceBridge: remove const from m_identifier

* there is free() call in PalmServiceBridge destructor and newer g++ doesn't like it:
  5.2.1+gitAUTOINC+7d1921a741-r0/git/Source/WebCore/platform/webos/PalmServiceBridge.cpp:150:26:
  error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
  |          free(m_identifier);
  /usr/include/stdlib.h:483:13: error:   initializing argument 1 of 'void free(void*)' [-fpermissive]
  |  extern void free (void *__ptr) __THROW;

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
PalmServiceBridge: determine identifier for subframes through PalmSystem

Signed-off-by: Simon Busch <morphis@gravedo.de>
Take DPR from environment variable QTWEBKIT_DPR

Signed-off-by: Simon Busch <morphis@gravedo.de>
Also parse window attributes as part of the window features

In webOS we're using the attributes to supply a different window type when opening windows
through window.open.

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