- 26 May, 2016 - 3 commits
-
-
Thiago Macieira authored
This allows us to pass pointers to storage that is not an array of uchar, which it hardly ever is. Change-Id: Ifea6e497f11a461db432ffff14490d2c2df21906 Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by:
Marc Mutz <marc.mutz@kdab.com>
-
Liang Qi authored
Conflicts: src/corelib/tools/qsimd_p.h src/network/socket/qnativesocketengine_winrt.cpp Change-Id: I2765b671664c2a84839b2f88ba724fdf0c1fa7c6
-
Laszlo Agocs authored
Just being on ARMv8 does not mean CRC32 (and arm_acle.h) is available. Task-number: QTBUG-53629 Change-Id: I104f643f2d59620e1f4d1ef814a1de71bb484e7b Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 25 May, 2016 - 3 commits
-
-
Thiago Macieira authored
Move the Q_ALWAYS_INLINE and forcing of __builtin_memcpy to the existing functions. Change-Id: Icaa7fb2a490246bda156ffff143c137e520eea79 Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com>
-
Eirik Aavitsland authored
This is an improvement of e4f71b0c . By using the QImageReader::read() overload taking a QImage pointer, and ignoring the return value, one could still end up with a corrupt QImage object. Avoid the subsequent crashes by closing that hole. Change-Id: I5dca10e4808ac3365e3ddba6689edecb7444948f Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by:
Richard J. Moore <rich@kde.org>
-
BogDan Vatra authored
Change-Id: I090e1c856f7a93a2a7d8c715c779fc07ce351361 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 24 May, 2016 - 4 commits
-
-
Thiago Macieira authored
This reverts commit 4579d966 . This causes a miscompilation with ICC 16 on Windows (MSVC 2015 ABI): the vector created by new[] with () in: mutexes(new QAtomicPointer<QMutex>[size]()), // (): zero-initialize does not actually zero-initialize (see disassembly in the bug report). This is definitely a compiler bug. Since we plan on removing QMutexPool in Qt 5.8 anyway, let's just revert the patch. Task-number: QTBUG-53360 Change-Id: I06bae9392f534e45b3f1ffff144e823b747e7962 Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
Kai Koehne authored
This fixes a long-standing issue for Qt packages, where the paths detected at configure time do not necessarily match the paths on the user's machine. Hence they have been stripped manually from qconfig.pri so far, preventing moc from resolving some includes. The same logic in configure is left alone for the time being, since the paths there are also used to filter paths returned by pg_config and mysql_config. I expect that this will eventually be removed too in a bigger refactoring going on right now in dev. Asking the compiler for implicit paths only works for non-msvc builds - that is, gcc, clang and icc fortunately have a compatible way to retrieve the paths. MSVC works solely on environment variables, which will be taken into account by a separate patch. [ChangeLog][qmake] The implicit compiler directories that moc needs for resolving include files are now determined when qmake runs. So far QMAKE_DEFAULT_INCDIR was determined at configure time, which might be wrong for relocated installations. Task-number: QTBUG-52687 Change-Id: If0706e8c56a5aca2b6e777e79e90342c498726f3 Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
Friedemann Kleint authored
The test was half-ported from Qt 4 and #ifdefed out depending on WINVER. When it became active, it failed since it queries the window handle too early in the process. Move the code sending the message into showEvent() to ensure a window handle exists and parent the listview properly to prevent a leaking toplevel. Change-Id: I74aa9ddfd0e88dd31e9258400fc3e473b6e0d92e Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
BogDan Vatra authored
Qt XML parser doesn't like these comments and it breakes QtCreator's manifest editor Task-number: QTCREATORBUG-16139 Change-Id: I6459926b32c39eb6d1ee8a9b5a5ade9b6f72924a Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
- 23 May, 2016 - 1 commit
-
-
Venugopal Shivashankar authored
Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Change-Id: Ia29cc9b578ef0a6094d43759b504640c3843eb28 Reviewed-by:
Topi Reiniö <topi.reinio@theqtcompany.com>
-
- 20 May, 2016 - 6 commits
-
-
Oswald Buddenhagen authored
Change-Id: I416c79d9afde98efc9e78b3a74e17dfbb2409602
-
Maurice Kalinowski authored
Change-Id: I88ef96bf15f40e459bacc4b2abe4dfe84e257495 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Marc Mutz authored
This reverts commit 5f542f3c , since it breaks streaming of types derived from QList and the docs state that this should be possible without providing custom op<</>> for such types. Task-number: QTBUG-53376 Change-Id: I2bde714ac384f2aed67ad30decea702fb79aef1b Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Gabriel de Dietrich authored
Change-Id: I7d098b61f6feb2ac38582c0efb1bbdf25a83e967 Task-number: QTBUG-53398 Reviewed-by:
René J.V. Bertin <rjvbertin@gmail.com> Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
Oliver Wolff authored
If no read was established before (no IO pending) the function will fail. In this case there is no need to assert though. Change-Id: Iaa18e4124389783fc2b8363a85c60a308903a713 Task-number: QTBUG-53424 Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Oliver Wolff authored
Both checks are not relevant in Qt's context and were skipped before but they sneaked back in with the latest ANGLE update. Change-Id: Ic44de5468a3254afd76ef4804d97d245676daeb1 Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
- 19 May, 2016 - 9 commits
-
-
Laszlo Agocs authored
Affects systems like the NVIDIA DRIVE CX. This did not show up so far because there was no error when Q_PROCESSOR_ARM was not set. Task-number: QTBUG-53493 Change-Id: I107155b6dc1a881eca6f57374ad8db4458875243 Reviewed-by:
Dominik Holland <dominik.holland@pelagicore.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Liang Qi authored
-
Oswald Buddenhagen authored
Change-Id: I4bf0224fb58297ab6e3b8f966f3b180f91d16279 Reviewed-by:
Simon Hausmann <simon.hausmann@theqtcompany.com>
-
Oswald Buddenhagen authored
this is just a bit cleaner. Change-Id: I03e628aca9e2e53c602a4db724da277a0e2c2486 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Oswald Buddenhagen authored
Change-Id: I7766672018dd4acf9b9fb89acfe664671de4bc3d Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Oswald Buddenhagen authored
this doesn't change a lot, but is cleaner. Change-Id: Ia89c399d6df7cc6264954cf309d2c971a5592d6b Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Oswald Buddenhagen authored
QStringRef has respective overloads now. Change-Id: I9b94c53092ef3fdd62a68f5d3c5bacb98a14d8ec Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Liang Qi authored
Conflicts: configure src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp src/network/access/qnetworkaccessmanager.cpp src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmcursor.cpp src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmcursor.h src/widgets/widgets/qlineedit_p.cpp src/widgets/widgets/qlineedit_p.h src/winmain/winmain.pro tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp tests/auto/dbus/qdbusconnection/tst_qdbusconnection.cpp tests/auto/dbus/qdbusconnection/tst_qdbusconnection.h tests/auto/testlib/selftests/expected_cmptest.teamcity tests/auto/testlib/selftests/expected_cmptest.txt tests/auto/widgets/itemviews/qtableview/tst_qtableview.cpp tools/configure/configureapp.cpp Change-Id: Ib9997b0d0f91946e4081d36c0c6b696c5c983b2a
-
Liang Qi authored
Conflicts: src/network/socket/qnativesocketengine_winrt.cpp Change-Id: I8edb72f8ba958d80c3d7993b3feaaae782ca8d9c
-
- 18 May, 2016 - 10 commits
-
-
Morten Johan Sørvig authored
Apple Mail will pick up and attempt to use the vCard flavor, which then fails since the data Qt placed on the clipboard is not actually a valid vCard. Place data in the vCard format on the clipboard only if the mime type is “text/vcard”. [ChangeLog][OS X] Pasting text from Qt applications to Apple Mail now works. [ChangeLog][OS X] “text/vcard” is now required as the mime type when placing vCards on the clipboard. Task-number: QTBUG-48953 Change-Id: Id029b20317f2c5ad8ae225912484de3c97498d29 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by:
Jake Petroules <jake.petroules@qt.io> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-
Urs Fleisch authored
When a URL is dropped on a Firefox window, the "text/x-moz-url" data takes precedence over the "text/uri-list". The "text/x-moz-url" is interpreted as UTF16, however, the data from Qt 5 applications is not in the correct format. The code to create correct UTF16 data exists, but it is not called for two reasons: The atomName will never be "text/x-moz-url" because it is changed to "text/uri-list" by mimeAtomToString() and the InternalMimeData::hasFormatHelper() case is already handled above and the else part will never be considered. This patch fixes the check and brings it into the right order. Task-number: QTBUG-49947 Change-Id: I5ebd31914cc6c1417c513c1ff09e0e858a16915d Reviewed-by:
Dmitry Shachnev <mitya57@gmail.com> Reviewed-by:
Shawn Rutledge <shawn.rutledge@theqtcompany.com>
-
Urs Fleisch authored
When dropping URLs from Firefox or Chrome, the contents are encoded as UTF16, but not correctly decoded. Moreover, the special handling of "text/x-moz-url" drops does not work because this format is converted to "text/uri-list" before. This fixes the handling for URL list and also for UTF16 "text/html". Task-number: QTBUG-47981 Change-Id: I1153f21ede07b2bfe4d104e0fe8bc8487ec5c165 Reviewed-by:
Błażej Szczygieł <spaz16@wp.pl> Reviewed-by:
Shawn Rutledge <shawn.rutledge@theqtcompany.com>
-
Felix Bourbonnais authored
QMenuBar now receives a parent changed event for each of its parent, grand-parent, ... This fixes a crash caused by an invalid QWidget pointer and makes sure the keyboard shortcuts events are relayed to the menu bar in all parenting/re-parenting cases by installing an event filter on each parent Task-number: QTBUG-53205 Change-Id: I419e6cbc52e28a67fb08a848a7161b4cb8ae4ae5 Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by:
Błażej Szczygieł <spaz16@wp.pl>
-
Oliver Wolff authored
While previous SDKs used the form "CE_SDK (CE_ARCH)" in their configuration/platform names, this is not true fo the Toradex SDK. Inside Visual Studio the platform is only called "Toradex_CE800" instead of "Toradex_CE800 (ARMV7)". In order not to break other SDKs CE_PLATFORMNAME is introduced and used in the wince80colibri-armv7-msvc2012 mkspec. If the variable is set qmake uses it as the platform name in its vcproj generator. Change-Id: Icb501bf6446a9f617745a0d2c7a80b240680b043 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
Andreas Holzammer <andreas.holzammer@kdab.com>
-
Olivier Goffart authored
make the 'cleaned' more robust by making sure we do not read past the buffer in some cases. We must also use resize and not reserve on the outpt buffer because reseve is meant as a hint and we are not supposed to write past the size of the QByteArray even if it is reserved. [ChangeLog][moc] Fixed crash on file ending with \\\r Task-number: QTBUG-53441 Change-Id: I901e6c0ffc7f8877de3d07fd08cf26495461d294 Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by:
Robert Loehning <robert.loehning@qt.io>
-
Oliver Wolff authored
As the functionality is not available for udp sockets trying to call it will cause a crash on socket close. Task-number: QTBUG-53424 Change-Id: Id80b36a248d12bf360135b2374c0a0efdab3a1f0 Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Oswald Buddenhagen authored
so far, each module had to do it in its .qmake.conf. by now, all modules have been adjusted to the expected structure, so we can enable it centrally. Change-Id: I16b4e7581e51bfc54e71d2f7f852858ae0b47281 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Oswald Buddenhagen authored
Change-Id: I6555d449430111639b084ddc3e4b4bc14b61bc30 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Nico Vertriest authored
Changed gtk- into fusion- in image file names Change-Id: I8d7beeda1f705aa4bb8ce53fd7189c2fca56fa62 Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-
- 17 May, 2016 - 4 commits
-
-
Laszlo Agocs authored
Other popular specs have this as well. Change-Id: I44245f37857d476b9ee53ecad021261b94214b2f Reviewed-by:
Johan Helsing <johan.helsing@qt.io> Reviewed-by:
Louai Al-Khanji <louai.al-khanji@qt.io>
-
Laszlo Agocs authored
EGL headers including X headers has traditionally been problematic due to getting macros for Status, None, etc. In most cases this is not an issue anymore because on embedded one will almost always use a driver targeting the framebuffer or DRM/KMS and therefore the EGL headers do not pull in X dependencies. Furthermore, Mesa supports MESA_EGL_NO_X11_HEADERS which we set, avoiding the problem altogether with Mesa regardless of targeting X11 or KMS. However, other drivers do not have this option. On i.MX6 for instance, targeting X11 is problematic due to not having EGL_API_FB defined, which in turn means the EGL headers pulls in X headers in order to be able to define the native display and window types as Display and Window. Try to play nice with this use case by reshuffling the includes and undefining the problematic names. This restores patch set 2 from the previously merged, and then reverted commit. This here is safe since the egl.h include and the following undefs are only done internally for eglfs and can have therefore no effect on other code. Task-number: QTBUG-52928 Change-Id: I383e783d5064dc8fb41f3ef56d2a4f4fcd31a6cf Reviewed-by:
Louai Al-Khanji <louai.al-khanji@qt.io>
-
Ralf Nolden authored
Remove _POSIX_C_SOURCE usage as the reason why it was added is not clear anymore and it causes compile errors on BSD systems if not circumvented by adding further defines to re-enable function calls hidden by the _POSIX_C_SOURCE define. (__BSD_VISIBLE on FreeBSD/OpenBSD and _NETBSD_SOURCE on NetBSD) Change-Id: Ic6b49ddcd6c481b0f2acd598cea5470604e00507 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Oswald Buddenhagen authored
don't pretend that these two flags can be set separately - the configures set them in tandem. Change-Id: Ib0beae0152de09026d4627fd3ae0feabd9ce1b81 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-