summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added device mkspec for Tizen 2.* mobile cross compilation.wip/tizenTomasz Olszak2015-02-282-0/+88
| | | | | | Change-Id: I01c42562141906ca7a1f873d9818965434418860 Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Added tizen mkspecs for OBS builds (non cross-compiled)Tomasz Olszak2015-02-283-0/+55
| | | | | | Change-Id: I8d0da57c53fef71313ab2f8bd5e53ee5a0ff7f84 Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Removed unused Tizen device mkspecs.Tomasz Olszak2015-02-289-278/+0
| | | | | Change-Id: I6c89687829d929d5166c2c7ccaffb998b2bbc0c2 Reviewed-by: Jarosław Staniek <staniek@kde.org>
* xcb: Added Tizen 2.3 adaptationTomasz Olszak2015-02-267-1/+115
| | | | | | | | | | | | | | | Adaptation includes: * Application lifecycle depending on X atoms. Tizen 2.3 native application lifecycle depends on X window. So we react on _X_ILLUME_ACTIVATE|DEACTIVATE_WINDOW atoms and suspend or activate application accordingly. * Platform native interface function for setting device orientation. This api is defined in QtPlatformHeaders/qxcbfunctions.h and can be used from Tizen application wrapper code. Change-Id: I0105717dcb4f652dd27e891a5f6c21388d8399ca Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* xcb: Added handling of XCB_STATIC_LINK qmake variable.Tomasz Olszak2015-02-262-0/+2
| | | | | | | | | | This makes it possible to link xcb platform plugin statically with libxcb. Such plugin will be bundled in Tizen application package because Tizen compliance policy does not allow to link to system libxcb (it supposed to be replaced by wayland in the future). Change-Id: Iaf66cf2b4a04a32e1fd653bcb9eb7c0d915a3981 Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Added handling of Tizen 2.3 Mobile cross-compilation and deployment.Tomasz Olszak2015-02-262-5/+45
| | | | | | | Mkspec and configure refactored similar to Android. Change-Id: I311af56ca9060d933905b876975e83113c685270 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* configure: added env variable handling to extractQMakeVariablesTomasz Olszak2015-02-261-1/+6
| | | | | | | | | | Thise makes it possible to extract qmake variables that reference environment variables, e.g.: SOME_QMAKE_VARIABLE = $$(SOME_ENV_VARIABLE) Change-Id: I5b80a9959bc9041413c7549913c4f939a8fda807 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Revert "Added tizenscim input context plugin."Tomasz Olszak2015-02-266-671/+6
| | | | | | This reverts commit 768597743f265f280208ae596d89f8a0cfc65db6. Change-Id: I04b112c8fcd3147928360fc5cf512dfc921a9070
* Revert "Tizen: Refactored mkspecs. One platform for all profiles."Tomasz Olszak2015-02-268-3/+176
| | | | | | This reverts commit 059d84cc073f706d8207c42eb30dd30f0af2a1ea. Change-Id: I62ef21b8920c4e4ba82c9ebf23bfd61eedfcc6b2
* Revert "Tizen: always try to build ibus and compose."Tomasz Olszak2015-02-261-6/+8
| | | | | | This reverts commit 78a77290d53b8eb5a26d24a0f4f8f838b734b6f1. Change-Id: Ifab717e7e88cb24f83bd9bfd85987c243547d220
* Revert "Tizen - handling application lifecycle"Tomasz Olszak2015-02-265-45/+0
| | | | | | This reverts commit 8c1b114b38275ae0620f61b9f62803cfd90fc35b. Change-Id: I4231b278e262d223d85c372521c22949e4112cb4
* Revert "Tizen: Added screen orientation handling in xcb plugin."Tomasz Olszak2015-02-263-68/+2
| | | | | | This reverts commit e87d1daea3425ed1c2898a3a343853cc17af2243. Change-Id: Ibfbbc1183accfb68e509d29643a8136215383846
* Revert "tizenscim: added handling virtual keyboard geometry changes."Tomasz Olszak2015-02-261-8/+0
| | | | | | This reverts commit 7183f1a92b531545c1979ba4ee65b3ae24ea63a6. Change-Id: I098175f05c7985d8db2dfefc23f7af9e38d910ba
* Revert "Fix: Added tizenscim input context plugin."Tomasz Olszak2015-02-261-1/+1
| | | | | | This reverts commit 1e8a0819ecc5e58f35013addcef4e069b9198ee0. Change-Id: I45da253aef1073a40cf6326a78ab6cd68c314820
* Revert "Fix for Added screen orientation handling in xcb plugin."Tomasz Olszak2015-02-261-1/+1
| | | | | | This reverts commit b222ce60c623c44cddc1a7c39a247790c9af1bb1. Change-Id: I898163eaaf9d34be35731d73ef6a86f7908cf0cb
* Fix for Added screen orientation handling in xcb plugin.Tomasz Olszak2015-02-261-1/+1
| | | | | | Change-Id: I458f3974b3b1b11e9078f4881cfd03f3158707d7 Reviewed-by: Philippe Coval <rzr@gna.org> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Fix: Added tizenscim input context plugin.Tomasz Olszak2015-02-261-1/+1
| | | | | | | tizenscim can't be determined by Q_OS_LINUX_TIZEN_MOBILE macro because on Tizen 3.0 Mobile tizenscim is not available. Change-Id: Ia490fccfde0f3c8f182b1476cf71a878a9bca3c6 Reviewed-by: Jarosław Staniek <staniek@kde.org>
* Added common and wearable definesTomasz Olszak2015-02-261-0/+4
| | | | | Change-Id: I9abd1bb6e0453f6984bb042d38da0b79593d7121 Reviewed-by: Jarosław Staniek <staniek@kde.org>
* Tizen: always try to build ibus and compose.Tomasz Olszak2015-02-261-8/+6
| | | | | | | Add tizenscim only for mobile profile. Change-Id: Ie532faf012d4644ed10eaf4bb2efaa06ecba3dc0 Reviewed-by: Jarosław Staniek <staniek@kde.org>
* Tizen: Refactored mkspecs. One platform for all profiles.Tomasz Olszak2015-02-268-176/+3
| | | | | | Change-Id: I81527298ec771b6bb3215ab4eb3f577a5629608c Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Leon Anavi <leon@anavi.org>
* Added commmon linux-g++-tizen spec.Tomasz Olszak2015-02-262-0/+55
| | | | | Change-Id: I2b3f88a26f9000d908719aaabf29195de088c508 Reviewed-by: Jarosław Staniek <staniek@kde.org>
* tizenscim: added handling virtual keyboard geometry changes.Tomasz Olszak2015-02-261-0/+8
| | | | | | Change-Id: I11c31eab3577c70b613687dc33ce86946fa24915 Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Leon Anavi <leon@anavi.org>
* Added tizenscim input context plugin.Tomasz Olszak2015-02-266-6/+671
| | | | | | | | | Now it's the only input context plugin available on mobile and emulator. Change-Id: I621a58e752d3851226891a9a7eb8d7e89b3cd5fb Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Tizen: Added screen orientation handling in xcb plugin.Tomasz Olszak2015-02-263-2/+68
| | | | | | | | X Window events sent by Window Manager are used. Change-Id: I06970059a003326ddda94cf07d8822f14af5cadc Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* HW Back button: Fixed after merge with 5.2 stable.Tomasz Olszak2015-02-261-0/+7
| | | | | | Change-Id: I3253b116747124d67ccd63396a3fe710d0d1d96d Reviewed-by: Jarosław Staniek <staniek@kde.org> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Setting DFLT_XKB_CONFIG_ROOT only if not defined.Tomasz Olszak2015-02-263-1/+3
| | | | | | | | | | | Now it is possible to set DFLT_XKB_CONFIG_ROOT from devices mkspecs. Change-Id: Ica503625e9b8126b16aaf7f80e7ec2833ea33763 Reviewed-by: Jarosław Staniek <staniek@kde.org> Conflicts: src/3rdparty/xkbcommon.pri
* Added tizen_app.prf for building Tizen tpk's.Tomasz Olszak2015-02-261-0/+105
| | | | | Change-Id: I9a8de239d38dac4e03f73911e636aa267aeb3dae Reviewed-by: Jarosław Staniek <staniek@kde.org>
* Tizen: Fix QCoreApplication::applicationDirPath()Tomasz Olszak2015-02-261-1/+1
| | | | | | | | | | | | Disable the code path which queries /proc/<pid>/exe for the current executable path, as from a Q_OS_LINUX_TIZEN perspective, this executable will be the launch_app binary. Instead we get the application directory via the fallback, by looking in argv[0], since this is set to the location of the application binary. Change-Id: I3132266b8fa83cfad968e5d04883d88a731c1a87 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Added Tizen hardware button handling.Tomasz Olszak2015-02-262-3/+20
| | | | | | | | It is mainly the same as in the Android so Android solution was adapted. Change-Id: Ie86c5fdd6e25178054e4df77ec4fe318960461ba Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Tizen - handling application lifecycleTomasz Olszak2015-02-265-0/+45
| | | | | | Change-Id: I47763f2d42e400df3e0e60515468ada8c8546128 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* Added mkspec for Tizen emulator, mobile and iviTomasz Olszak2015-02-267-0/+186
| | | | | Change-Id: I2bd5471f573b89125d54f371d919e74534fec06b Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
* fix non-git shadow buildsv5.4.1Oswald Buddenhagen2015-02-162-1/+2
| | | | | | | | | | the qt headers live in the source dir in this configuration. instead of hard-coding the path in the project file, use the correct module variable. this requires harfbuzz-ng to be built after corelib. Change-Id: If1b64b59a0939d3b5190331fcf70da566d4eeedd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* changes-5.4.1: QtSql, build system, platformsMark Brand2015-02-131-0/+184
| | | | | | | | | | | Done-with: shawn Done-with: ossi Done-with: mkalinow Done-with: msorvig Done-with: andy Done-with: lars Change-Id: I53b1e8a30e5117eb532dbb8d40c323a39f7b74a5 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Provide a native interface object from linuxfbLaszlo Agocs2015-02-112-0/+11
| | | | | | | | | | | | | | | Recent code in font support started to use the platformNativeInterface() return value without checking for null. Most platform plugins, with the notable exception of linuxfb and the minimal ones, provide an object. Start providing a dummy object from linuxfb too. This is more sensible then adding null checks everywhere. This will prevent crashing with linuxfb on startup. Task-number: QTBUG-44414 Change-Id: I48912132e1f8ad52e2a94c3d765dacc7b16f309a Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Force Harfbuzz-NG to use the Qt atomics when built inside QtThiago Macieira2015-02-102-2/+21
| | | | | | | | | | | | For most cases, the GCC/Intel atomics (__sync functions) are fine, but there are some systems for which libgcc is incorrectly built (QNX 6.5.0). Additionally, this will allow Harfbuzz-NG to be supported in exactly the same systems as Qt itself. Task-number: QTBUG-43850 Change-Id: Ib53f57f70d4ad46863c45e74d60b0eb45ba9bd02 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Remove #define inline from Harfbuzz-NGThiago Macieira2015-02-101-10/+0
| | | | | | | | | | | | | | | | | | | | | This code is C++ only. There isn't a single C++ compiler that fails to understand the "inline" keyword, since it's required by C++98. Any compiler older than C++98 is likely to choke on the template usage further down, so this isn't necessary. Moreover, the C++ standard says you cannot define macros. [lib.macro.names] says "Nor shall such a translation unit define macros for names lexically identical to keywords." -- technically, it's a promise that the Standard Library headers won't do it, the wording means that the entire translation unit won't do it, which implies no source can do it. MSVC complains about it: fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. Change-Id: Ic2a0a03a0af47386e34bb698454a2040ef3f6a9d Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
* Fix compilation with Apple Clang 425Thiago Macieira2015-02-091-2/+10
| | | | | | | | | | | This version was based on Clang mainline between releases 3.1 and 3.2, which means it has part of 3.2 features but not all. One of the missing features is __builtin_bswap16. Cherry-picked from ec9bc843d8a5c18459f3669c6e22acac2077df67 on 5.4 Change-Id: Ic5d393bfd36e48a193fcffff13b95664c7f664de Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* REG: Fix misplaced outline drawn text with native renderingEskil Abrahamsen Blomfeldt2015-02-052-4/+5
| | | | | | | | | | | | | | | | | | | | Change c238d34137ffe80d30933733a12aa2893b9631c2 was a refactoring which slightly changed behavior. In the case of fetching the alpha map's bounding box, before we would call loadGlyph() even for the case of outline drawing, as the correct bounding rect is still needed for this case. In loadGlyphFor() however, 0 was always returned for this case, as it was only used for populating the cache. The simple fix for this is to add a bool to loadGlyphFor() which adapts the original behavior when set, similar to the fetchMetricsOnly bool in the loadGlyph() functions. Change-Id: I76296c8aaeddbdae9e4c27ed2b30b7d59ff0843b Task-number: QTBUG-44273 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* WinRT: Gracefully exit an applicationMaurice Kalinowski2015-02-021-0/+18
| | | | | | | | | | | | | | | | | | While it is not recommended by Microsoft to manually exit an application, currently applications just hang when exiting main(). Instead when QCoreApplication::exit() is called use the CoreApplication to properly invoke native Exit() and let the application completely shut down. Add a warning to notify developer about this non-standard behavior, as usually the system is supposed to take care of suspending and closing. Certification still passes for Windows RT and Windows Phone. Task-number: QTBUG-43862 Change-Id: Ia34443ea75daaaeca0bee2a0c9fcc568c0659262 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Fix memory leak in qSetMessagePatternKai Koehne2015-02-021-2/+6
| | | | | | | | | We were leaking memory in case setPattern was called multiple times Task-number: QTBUG-43893 Change-Id: Icd9c214edea064aeaeb6f92a9c62836238ccd344 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Fix Qt over VNC with broken VisualInfoAllan Sandfeld Jensen2015-02-021-0/+12
| | | | | | | | | | | It appears some VNC servers reports incorrect masks in their visuals. This patch recognizes this unlikely set of masks and interprets it as RGB16 which VNC expects. Task-number: QTBUG-44147 Change-Id: Ia374edcd5f0a5ce0188157ac1d328f888cfa260c Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* WinRT: Fix access to style hint instead of theme hintMaurice Kalinowski2015-02-021-1/+1
| | | | | | | | | | | | | You need to specify explicitly the styleHint enum instead of the theming one, which is where we want to forward to. This caused all clicks to be ignored in case there is a listener to pressAndHold as the hold period is reduced to 0 milliseconds. Task-number: QTBUG-44196 Change-Id: I30d1771b91b5fa358e896e8441ade965543d4613 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Andrew Knight <qt@panimo.net>
* fix fallback architecture for MSVCJoerg Bornemann2015-01-291-0/+4
| | | | | | | | | Use x86 for a 32 bit build of qmake and x86_64 for 64 bit. This is needed for shells that do not set VCINSTALLDIR. Change-Id: I0843c1a590161669530b99f45ab59d523e6596c3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Correct the version of ICC that has the constexpr bug fixedThiago Macieira2015-01-291-1/+4
| | | | | | | | 01fc82e3574614762d2ce061dd45ce4995c79e7f updated the code for ICC 15, but it needs to be 15.0.1 Change-Id: Iba8d819ab9174d9dac07ffff13bbc26b9be46d53 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
* WINCE: Fix special case for toplevelAndreas Holzammer2015-01-291-0/+8
| | | | | | | | | | | | It looks like that WindowFromPoint does not return same handle each time, hence he then is in a endless loop. We don't need to look for a child in a loop here for Windows Embedded Compact. Task-number: QTBUG-44073 Change-Id: Ic42d56616b29f293d187111588fde3947c15659c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Revert "Windows: Fix call of ToUnicode"Friedemann Kleint2015-01-291-8/+7
| | | | | | | | | | | | | This reverts commit dfe853bff90444edf92a993e391df853780c9e8d. When using cyrillic or other keyboard layouts, standard shortcuts like CTRL-C are still supposed to work as if the US keyboard layout were in effect. Task-number: QTBUG-44021 Task-number: QTBUG-35734 Change-Id: If6cd96a1e03e62900b293f8e304e523460e85810 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Use qt.io rather than qt-project.org for network testsShawn Rutledge2015-01-283-3/+3
| | | | | | | | | Mainly because of a change in certificates which is causing failing tests. This patch is cherry-picked from https://codereview.qt-project.org/104619/ Change-Id: I8304e5ac4107428a250b71be5df7b5399a811017 Reviewed-by: Richard J. Moore <rich@kde.org>
* Windows/ANGLE: Fix initialization of contexts.Friedemann Kleint2015-01-281-4/+9
| | | | | | | | | Immediately try to initialize a context obtained by eglGetPlatformDisplayEXT() and clear display in case it fails, falling back to eglGetDisplay(). Change-Id: Ia6c1c6da4daff6651153c854eda4fb8749bdc526 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Fix QXmlStreamReader parsing of files containing NULsThiago Macieira2015-01-2420-25/+49
| | | | | | | | | | | | | | | | | | Due to a flaw in the internal API, QXmlStreamReader's internal buffering would mistake a NUL byte in the input stream for EOF during parsing, but wouldn't set atEnd == true because it hadn't yet processed all bytes. This resulted in an infinite loop in QXmlStreamReaderPrivate::parse. So, instead of returning zero (false) to indicate EOF, return -1 (but in unsigned form, ~0, to avoid ICC warnings of change of sign). In turn, this required enlarging a few variables to avoid ~0U becoming 0xffff, which is a valid QChar (could happen if the input is a QString, not a QIODevice). Task-number: QTBUG-43513 Change-Id: If5badcfd3e4176b79517da1fd108e0abb93a3fd1 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* QTemporaryDir: Remove directories on failureEskil Abrahamsen Blomfeldt2015-01-222-1/+18
| | | | | | | | | | | | | | When creating a temporary directory but failing to set its permissions, we need to remove the directory we created to avoid leaving 256 empty, unused directories in the destination folder. This happens on Android if you try creating a QTemporaryDir in the download path on the sdcard. Task-number: QTBUG-43352 Change-Id: Ic88fb7572f1abd65e5c7d8882b59c95f4b22ed72 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>