6c1e352 | Antti Kokko | 31 May 2016, 05:23:05 UTC | Add Qt 5.7.0 changelog Done-With: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Done-With: Thiago Macieira <thiago.macieira@intel.com> Change-Id: I1e8d75afa4e26bac1e5f64b7a25320f80b54aa58 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> | 10 June 2016, 06:48:56 UTC |
e454e98 | Thiago Macieira | 04 June 2016, 01:43:03 UTC | Move the Q_DECL_UNUSED attribute elsewhere to satisfy ICC 17 It doesn't like the attribute there. I think it's a compiler bug, but I can't be sure because the part of the standard dealing with the placement of attributes and where they apply is very complex. Exercise left for the reader to determine if ICC is correct or not to reject it there. Change-Id: I87e17314d8b24ae983b1fffd1454bde826b7bcf4 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> | 08 June 2016, 18:34:10 UTC |
6a75daa | Friedemann Kleint | 02 June 2016, 11:34:49 UTC | QMessageBox::aboutQt(): Remove LGPL 2.1. Licenses have changed in 5.7. Change-Id: Ib3801ef878f292e68b22ee89e036bb30cc79d186 Task-number: QTBUG-53791 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> | 03 June 2016, 09:07:39 UTC |
5c2ff22 | Thiago Macieira | 26 April 2016, 23:40:37 UTC | Use void instead of uchar in the endian-swapping function parameters 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> | 26 May 2016, 18:02:49 UTC |
2fb026d | Liang Qi | 26 May 2016, 07:40:39 UTC | Merge remote-tracking branch 'origin/5.6.1' into 5.7.0 Conflicts: src/corelib/tools/qsimd_p.h src/network/socket/qnativesocketengine_winrt.cpp Change-Id: I2765b671664c2a84839b2f88ba724fdf0c1fa7c6 | 26 May 2016, 11:04:32 UTC |
184b2ea | Laszlo Agocs | 25 May 2016, 14:47:29 UTC | Check for CRC32 properly 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> | 26 May 2016, 04:26:04 UTC |
5409782 | Thiago Macieira | 15 March 2016, 17:10:12 UTC | Replace qUnaligned{Load,Store} with the existing q{To,From}Unaligned 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> | 25 May 2016, 15:46:17 UTC |
421aa42 | Eirik Aavitsland | 25 May 2016, 08:27:51 UTC | Really fix crash on certain malformed bmp images 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> | 25 May 2016, 15:46:04 UTC |
ad09530 | BogDan Vatra | 25 May 2016, 05:13:18 UTC | Update Ministro's repo Change-Id: I090e1c856f7a93a2a7d8c715c779fc07ce351361 Reviewed-by: Christian Stromme <christian.stromme@qt.io> | 25 May 2016, 15:44:40 UTC |
b084739 | Thiago Macieira | 14 May 2016, 18:17:48 UTC | Revert "QMutexPool: avoid QVarLengthArray of QAtomicPointers" This reverts commit 4579d966af2e5d4ba229f13312eeb2f921406038. 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> | 24 May 2016, 17:54:54 UTC |
efd2ea8 | Kai Koehne | 02 May 2016, 15:09:11 UTC | Determine the compiler's default include and lib directories at qmake time 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> | 24 May 2016, 17:54:24 UTC |
65ae3de | Friedemann Kleint | 24 May 2016, 13:47:19 UTC | Fix tst_QListView::setCurrentIndexAfterAppendRowCrash(). 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> | 24 May 2016, 17:54:13 UTC |
48d14c6 | BogDan Vatra | 23 May 2016, 15:00:52 UTC | Move services documenation to a wiki page. 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> | 24 May 2016, 04:34:54 UTC |
d6905b2 | Venugopal Shivashankar | 12 May 2016, 09:08:02 UTC | Add changelog for 5.6.1 Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Change-Id: Ia29cc9b578ef0a6094d43759b504640c3843eb28 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> | 23 May 2016, 18:31:29 UTC |
36c025a | Oswald Buddenhagen | 20 May 2016, 17:31:18 UTC | Merge 5.7 into 5.7.0 Change-Id: I416c79d9afde98efc9e78b3a74e17dfbb2409602 | 20 May 2016, 17:31:19 UTC |
8e8bd90 | Maurice Kalinowski | 19 May 2016, 08:47:27 UTC | Fix compilation without process support Change-Id: I88ef96bf15f40e459bacc4b2abe4dfe84e257495 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> | 20 May 2016, 10:37:18 UTC |
d55f2b1 | Marc Mutz | 14 May 2016, 05:09:33 UTC | Revert "QDBusArgument: remove useless op<< overloads" This reverts commit 5f542f3cca13f2da58b82aee2efbaffefeee00a7, 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> | 20 May 2016, 07:09:52 UTC |
9e3e987 | Gabriel de Dietrich | 16 May 2016, 23:28:24 UTC | QNSView: Pass on the responder chain if deletion is pending 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> | 20 May 2016, 06:09:06 UTC |
a1dccd0 | Oliver Wolff | 19 May 2016, 07:37:22 UTC | WinRT: Do not assert on socket close 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> | 20 May 2016, 06:08:57 UTC |
c276aa5 | Oliver Wolff | 19 May 2016, 08:55:46 UTC | ANGLE: fixed usage of shared handles for WinRT/WinPhone applications 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> | 20 May 2016, 05:27:29 UTC |
20211c4 | Laszlo Agocs | 19 May 2016, 13:56:49 UTC | Avoid failing on 64-bit ARM 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> | 19 May 2016, 18:28:07 UTC |
1f8bc50 | Liang Qi | 19 May 2016, 17:50:46 UTC | Merge "Merge remote-tracking branch 'origin/5.6' into 5.7" into refs/staging/5.7 | 19 May 2016, 17:50:46 UTC |
b98f599 | Oswald Buddenhagen | 19 May 2016, 17:04:33 UTC | add missing install target Change-Id: I4bf0224fb58297ab6e3b8f966f3b180f91d16279 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> | 19 May 2016, 17:49:19 UTC |
e6b755e | Oswald Buddenhagen | 13 May 2016, 11:42:15 UTC | add ProString::toLongLong() and make use of it this is just a bit cleaner. Change-Id: I03e628aca9e2e53c602a4db724da277a0e2c2486 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 19 May 2016, 17:32:50 UTC |
7931395 | Oswald Buddenhagen | 13 May 2016, 11:45:48 UTC | remove pointless conversion to QString in isTrue() Change-Id: I7766672018dd4acf9b9fb89acfe664671de4bc3d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 19 May 2016, 17:32:47 UTC |
a7a3cd6 | Oswald Buddenhagen | 13 May 2016, 11:44:42 UTC | remove pointless conversions to QString when converting to int this doesn't change a lot, but is cleaner. Change-Id: Ia89c399d6df7cc6264954cf309d2c971a5592d6b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 19 May 2016, 17:32:41 UTC |
e8bdca7 | Oswald Buddenhagen | 12 May 2016, 19:15:58 UTC | optimize ProString::toInt()/toShort() QStringRef has respective overloads now. Change-Id: I9b94c53092ef3fdd62a68f5d3c5bacb98a14d8ec Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 19 May 2016, 17:32:27 UTC |
818014b | Liang Qi | 19 May 2016, 09:04:19 UTC | Merge remote-tracking branch 'origin/5.6' into 5.7 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 | 19 May 2016, 10:55:27 UTC |
6404418 | Liang Qi | 19 May 2016, 04:30:59 UTC | Merge remote-tracking branch 'origin/5.6.1' into 5.6 Conflicts: src/network/socket/qnativesocketengine_winrt.cpp Change-Id: I8edb72f8ba958d80c3d7993b3feaaae782ca8d9c | 19 May 2016, 04:31:06 UTC |
d16692e | Morten Johan Sørvig | 11 May 2016, 10:41:41 UTC | Cocoa: Allow pasting text from Qt apps to Mail 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> | 18 May 2016, 19:09:55 UTC |
f162e29 | Urs Fleisch | 04 May 2016, 17:47:16 UTC | xcb: Fix dropping URL on Firefox window. 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> | 18 May 2016, 18:20:11 UTC |
1108291 | Urs Fleisch | 03 May 2016, 18:01:01 UTC | xcb: Fix drop of text/uri-list and text/html. 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> | 18 May 2016, 18:20:09 UTC |
b627dd2 | Felix Bourbonnais | 10 May 2016, 14:06:53 UTC | QMenuBar: nested parenting fix 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> | 18 May 2016, 17:40:11 UTC |
f095ff8 | Oliver Wolff | 18 May 2016, 12:20:23 UTC | qmake: Introduce CE_PLATFORMNAME to fix creation of vcxproj files 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> | 18 May 2016, 13:50:43 UTC |
27425e6 | Olivier Goffart | 18 May 2016, 06:50:53 UTC | Moc: fix crash when a file ends with \\\r 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> | 18 May 2016, 10:34:13 UTC |
eba979f | Oliver Wolff | 18 May 2016, 07:59:25 UTC | WinRT: Do not try to cancel IO for udp sockets on socket close 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> | 18 May 2016, 09:07:49 UTC |
5cbea54 | Oswald Buddenhagen | 20 April 2016, 19:11:45 UTC | enable example installs for all modules 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> | 18 May 2016, 09:07:38 UTC |
5b5b7f9 | Oswald Buddenhagen | 20 April 2016, 19:11:03 UTC | complain about examples which don't install themselves properly Change-Id: I6555d449430111639b084ddc3e4b4bc14b61bc30 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> | 18 May 2016, 09:07:32 UTC |
e6cc1d7 | Nico Vertriest | 10 May 2016, 09:54:08 UTC | Doc: corrected issues with non-existing image files Changed gtk- into fusion- in image file names Change-Id: I8d7beeda1f705aa4bb8ce53fd7189c2fca56fa62 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> | 18 May 2016, 07:33:10 UTC |
4251509 | Laszlo Agocs | 10 May 2016, 08:52:30 UTC | Add notes and an example configure line to the imx6 makespec 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> | 17 May 2016, 16:13:49 UTC |
6e401eb | Laszlo Agocs | 22 April 2016, 15:13:38 UTC | egl: Reshuffle headers to help less fortunate systems with X11 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> | 17 May 2016, 16:13:42 UTC |
bfa53e1 | Ralf Nolden | 10 May 2016, 14:34:37 UTC | Compile fix: remove _POSIX_C_SOURCE usage 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> | 17 May 2016, 16:10:41 UTC |
b67a083 | Oswald Buddenhagen | 11 May 2016, 15:53:58 UTC | QT_CONFIG simplification re debug_and_release and build_all 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> | 17 May 2016, 15:31:40 UTC |
7249273 | Ralf Nolden | 17 May 2016, 10:57:17 UTC | Remove libudev dependency from kms.pro To compile the kms qpa plugin, only libdrm is needed. Remove the libudev dependency for the compile check to enable building of the qpa plugin on platforms where libudev is not present such as BSD systems (but where KMS works) Change-Id: Icd0be70a8949578a6158d523428706890a9674eb Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 17 May 2016, 15:14:30 UTC |
74910e2 | Simon Hausmann | 17 May 2016, 12:07:06 UTC | Fix running of configure tests when cross compiling on Windows When compiling on Windows to for example Android, we may be using the unix generator, but the make command may be mingw32-make. Task-number: QTBUG-53038 Change-Id: If8d1e1bea733cf1b4ed837c423a34ecfb3cafd1f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 17 May 2016, 12:15:33 UTC |
082ee83 | Joerg Bornemann | 06 April 2016, 14:38:54 UTC | QLocalSocket/Win: Use QIODevice's internal write buffer Remove the extra write buffer from QLocalSocketPrivate and use QIODevice's new internal write buffer. Change-Id: I4297774ee89da2df59782adae8b804296e7f3301 Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 17 May 2016, 11:01:39 UTC |
1675d9a | Joerg Bornemann | 06 April 2016, 14:19:06 UTC | QLocalSocket/Win: use QRingBuffer::append Use QRingBuffer::append instead of an explicit reserve + memcpy. Change-Id: I237d1e43a377e156c148e89e410e15e400e1e426 Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 17 May 2016, 11:01:35 UTC |
8714c99 | Maurice Kalinowski | 13 May 2016, 06:40:39 UTC | winrt: Fix potential crash when reading closed sockets Using multiple concurrent requests can cause a delay between a socket closing and getting deleted. At that point the state was closingDown, but not wasDeleted yet. Especially on slower arm devices, callbacks are done from another thread causing synchronization issues. Hence closingDown needs to be synced and handleReadyRead needs to have more criterias to return early to avoid invalid access crashes. Easiest to reproduce is heavy scrolling on the mapviewer example when it downloads a huge amount of tiles and cancels those requests when not in view anymore. Change-Id: I442b6243bbefb3af938b6b1b3739a6a85b4887c0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> | 17 May 2016, 09:58:42 UTC |
3c19b8b | Marc Mutz | 28 April 2016, 07:51:24 UTC | QOpenGL: use new QJsonObject::value(QLatin1String) Allows to get rid of some QStringLiterals, reducing QtGui text size by ~2Kib. Change-Id: Ic033fad5673aadc85930842dfccc24299df154f7 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> | 16 May 2016, 20:59:31 UTC |
6e92846 | Andy Shaw | 13 May 2016, 06:53:38 UTC | Use QPlatformTheme for the context to translate the color dialog buttons QDialogButtonBox does not have translations, it queries QPlatformTheme for button texts. So in order to ensure that the buttons added to QColorDialog natively are translated it should be set to use QPlatformTheme instead. Change-Id: I67d0e509398aa81f9de9b8785544c1e23bb596d9 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> | 16 May 2016, 20:16:05 UTC |
45eba73 | Olivier Goffart | 16 May 2016, 12:22:03 UTC | Fix QVariant conversion to an enum type. QVariant::canConvert<Enum> was returning true for everything can can be converted to integer, but not for integer itself. That's because in QVariant::canConvert we set the targetType to Int of it's an enum, but the Int->Int case was not on the conversion matrix. So this commits adds it to the conversion matrix and now QVariant::canConvert<Enum> returns consistently true for int itself. But even tough canConvert returned true, it did not actualy do any conversion to the enum type itself. Fix that by handling the case properlt in 'convert' [ChangeLog][QtCore][QVariant] Fixed QVariant::canConvert and conversion from integer types to enumeration types. Task-number: QTBUG-53384 Change-Id: I6ac066f3900e31bfcea7af77836ddfc7730bd60b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 16 May 2016, 15:58:28 UTC |
c5c7997 | Laszlo Agocs | 10 May 2016, 10:00:39 UTC | eglfs-viv: Fix config test fbGetDisplay() expects a context pointer, but the config test was calling this function without any arguments, causing the test to fail even when the Vivante EGLFS device integration is actually supported. This got broken in 5.7 by the INTEGRITY changes in 9b35b0e8dc6069aed563d0aca61c973eb307d772. Task-number: QTBUG-53282 Change-Id: I233d93618b1c8a31d12b31139d3bfbd3d6429839 Done-with: Carlos Rafael Giani <dv@pseudoterminal.org> Reviewed-by: Andy Nichols <andy.nichols@qt.io> | 15 May 2016, 17:46:37 UTC |
c7d4858 | Marc Mutz | 14 May 2016, 05:32:03 UTC | QDBusArgument: deprecate relying on a streamable Base to stream a Derived This was seen in the wild for QList, but, as described in the documentation note, it's a common problem. [ChangeLog][QtDBus][QDBusArgument] Deprecated relying on a streamable Base to stream a Derived without providing operator<</>>() for Derived. No diagnostic provided. Task-number: QTBUG-53376 Change-Id: If845574f731b537c20641dc7c49fa4369e85db5a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 15 May 2016, 10:00:19 UTC |
28fab27 | Shawn Rutledge | 22 April 2016, 13:30:26 UTC | add AA_CompressHighFrequencyEvents to control compression on xcb 7edd10e6c added this compression feature, but some applications may need to disable it. [ChangeLog][X11] It's now possible to unset AA_CompressHighFrequencyEvents to disable the new X event compression feature that was added in 5.6.0. This is a replacement for the WA_NoX11EventCompression flag in Qt 4. Task-number: QTBUG-44964 Change-Id: I37a9c8a4831f1c02eda0f03b54125f3255d25500 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io> | 15 May 2016, 08:05:29 UTC |
474af0a | Friedemann Kleint | 21 January 2016, 07:15:18 UTC | QWidget::mapTo/FromGlobal(): Rewrite using a QTransform. Introduce a function going up the widget hierarchy determining a QTransform for mapping the coordinates applying the transformations of any QGraphicsView instances found. In mapFromGlobal(), use the inverse of it. This fixes the case of widget hierarchies embedded into QGraphicsView with transformations. Increase fuzz in the tests due to float rounding errors. Task-number: QTBUG-41135 Task-number: QTBUG-50030 Task-number: QTBUG-50136 Task-number: QTBUG-52507 Change-Id: I507e0bccd546250fe9c2d1b74ef38657d61490b4 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> | 14 May 2016, 06:51:10 UTC |
a26435d | Thiago Macieira | 12 April 2016, 22:58:32 UTC | Print the QStorageInfo dump on test start So we know what we're looking at if there's a test failure. This is like QNetworkInterface. Change-Id: Id75834dab9ed466e94c7ffff1444bf51f615e944 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 14 May 2016, 01:21:27 UTC |
56b5706 | Thiago Macieira | 03 January 2016, 14:41:09 UTC | Remove dead code from QColorDialog Detected by GCC 6. Change-Id: I24a735698d3c4a719fc9ffff1425f193511406f9 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 14 May 2016, 01:21:22 UTC |
dc40abe | Thiago Macieira | 17 August 2014, 20:05:59 UTC | Move out the code to extract the backtrace to another function This will make it easier to use create backtraces in other contexts. Change-Id: I56b838ab04d9810108fcdb7f8c2fd91255864850 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 13 May 2016, 21:42:45 UTC |
186d391 | Eskil Abrahamsen Blomfeldt | 11 May 2016, 10:43:16 UTC | Work around QFont bug in QFontDialog test The QFontDialog test will currently fail for some PCF bitmap fonts because the list of smooth sizes it uses to populate its size list contains unsupported sizes. We work around this by adding QEXPECT_FAIL when we detect that the failure is going to happen. Task-number: QTBUG-46056 Task-number: QTBUG-53299 Change-Id: Ia665cca220f3622405d1a2336e8d587545cccbc6 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> | 13 May 2016, 21:08:07 UTC |
aebb54b | André Klitzing | 28 April 2016, 15:34:16 UTC | Add ephemeralServerKey to isNull() and operator== Change-Id: Iacd0f55886847630b84a8037d8d26504c558c90e Reviewed-by: Sebastian Lösch <Sebastian.Loesch@governikus.com> Reviewed-by: Markus Goetz (Woboq GmbH) <markus@woboq.com> | 13 May 2016, 20:27:36 UTC |
ed38750 | Marc Mutz | 30 June 2015, 20:01:17 UTC | Add -Wzero-as-null-pointer-constant to headerclean check Requested by user(s). Change-Id: Id2c7d67a8cd50f4f83f141cff41ba01e21c3a603 Task-number: QTBUG-45291 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 13 May 2016, 19:41:55 UTC |
9e46390 | Marc Mutz | 03 May 2016, 12:59:33 UTC | Move q{Set,}GlobalQHashSeed() to the correct header file The <QHash> only contains the container these days, while <QHashFunctions> contains the qHash() function overloads and related functions. This is where these two functions belong, too. This change is BC and SC, since qhash.h includes qhashfunctions.h. Change-Id: I2e7febb0ffca209af67fb9f2cd363596867a44e1 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 13 May 2016, 19:41:15 UTC |
ae97585 | Timur Pocheptsov | 12 May 2016, 16:03:50 UTC | Revert "tst_qudpsocket - remove insignificant" This reverts commit 11ad50074b57df7559d39a0620a1e1b35d0ac061. Unfortunately, udpsocket strikes back this time on OS X < 10.10 - never seens these test failing before. Since this prevents 5.6->5.7 merge, I have to revert it until the problem investigated/fixed on OS X. Alas :( Change-Id: I52f6512d88c25d2e3071cb845e91faefbd455e27 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> | 13 May 2016, 19:07:56 UTC |
432d3b6 | Anton Kudryavtsev | 29 April 2016, 11:52:28 UTC | QDateTimeParser: use QStringRef more Avoid unnecessary allocations. Change-Id: I217ba3fe20293f5cdeeaac2dfae15f837cda51e0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 13 May 2016, 05:25:55 UTC |
1af3a21 | Oswald Buddenhagen | 11 May 2016, 17:27:54 UTC | actually build an optimized qmake in release builds release_tools is not set in pure release builds - in fact, we complain if it is. Change-Id: Ifac73c0ef6f8967155b63f7fc9c9ce9de1acf337 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 13 May 2016, 04:37:30 UTC |
5316bef | Eirik Aavitsland | 10 May 2016, 14:21:08 UTC | ICO image format: fix regression in writing when size >= 256 In commit c6c9304, the earlier size limit of 128 was raised to the format's defined maximum of 256. But the required special storage of this size in the image structures was not implemented. Hence, attempting to store such big icons would result in invalid image files. Fix the size storing details, and add some autotests of ico format writing since that was practically uncovered. Task-number: QTBUG-53259 Change-Id: I00e17a04e90c32dcf1124ba5adaf53728fb74dc7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> | 13 May 2016, 04:37:15 UTC |
ad54ac5 | Allan Sandfeld Jensen | 12 May 2016, 09:09:03 UTC | Fix building with -qreal float Min and max expressions need matching types, which means we have to take care both values are qreal. Task-number: QTCREATORBUG-15851 Change-Id: I5f123e979fa896006ff6eafaac1f65b667db975d Reviewed-by: Marc Mutz <marc.mutz@kdab.com> | 13 May 2016, 04:37:05 UTC |
2ac3fab | Jesus Fernandez | 12 May 2016, 14:20:47 UTC | Fixed crash in QAuthenticator::operator== [ChangeLog][QtNetwork][QAuthenticator] Fixed crash when comparing a initialized QAuthenticator with an uninitialized QAuthenticator. Task-number: QTBUG-53338 Change-Id: Ib8b732b9c65c02ee542885e5d6fe9bd1589a6b1a Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 13 May 2016, 03:58:06 UTC |
7248e97 | Marc Mutz | 11 May 2016, 09:53:02 UTC | QtConcurrent/QtOpenGL(Extensions)/QtPrintSupport/QtTestLib/QtXml: add QT_NO_FOREACH Mark these libraries as what they are: Q_FOREACH-free, using QT_NO_FOREACH. Change-Id: I2a567d9fe67e15e9b6f0784525810b553dc50e1f Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 12 May 2016, 21:42:10 UTC |
656e6ae | Marc Mutz | 11 May 2016, 09:53:02 UTC | QtNetwork: port the last remaining Q_FOREACH loop and add QT_NO_FOREACH Port the last remaining Q_FOREACH user in QtNetwork to C++11 range-for and mark the library as Q_FOREACH-free, using QT_NO_FOREACH. Change-Id: I8977f151e3575422fc1154677e035274c018d66f Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 12 May 2016, 21:42:05 UTC |
2852a8b | Gabriel de Dietrich | 26 February 2016, 19:53:01 UTC | XCB: Auto-detect xcb-glx also with xcb-qt Task-number: QTBUG-43784 Change-Id: Iaa0388e34900f6241db8cd864caed4fb6fc32819 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 12 May 2016, 19:11:51 UTC |
07dd6db | Friedemann Kleint | 30 March 2016, 11:57:22 UTC | QLineEdit: Fix icons being too small on a High DPI screen without scaling. Remove the hardcoded size 16 from QLineEditIconButton. Replace QLineEditPrivate::iconSize() by QLineEditPrivate::sideWidgetParameters() returning a struct SideWidgetParameters containing icon size, widget size and margins. The 32x32 icon will then be used on a High DPI screen without scaling. Task-number: QTBUG-49374 Change-Id: I23c4a0cd078a58581c940aacfa65a3ad493c12dc Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com> | 12 May 2016, 19:03:58 UTC |
678e427 | James McDonnell | 18 March 2016, 15:44:41 UTC | Adjust FreeType choice made by configureapp FontConfig requires FreeType, so choosing the system FontConfig (there isn't a bundled FontConfig) means that the system FreeType must be used. QNX ended up configured to include the bundled FreeType and the system FontConfig which produced a fault when bundled FreeType structures got passed through FontConfig to the system FreeType. Task-number: QTBUG-52578 Task-number: QTBUG-51417 Change-Id: I56add73d34320c1d08f63b57cb0fef1ba06264e8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 12 May 2016, 18:58:09 UTC |
d179931 | James McDonnell | 04 May 2016, 19:18:01 UTC | Warn when -fontconfig forces -system-freetype Let the user know that configure's switch from -no-freetype/-qt-freetype to -system-freetype when -fontconfig is used is expected. Task-number: QTBUG-35886 Change-Id: I95daaeffb0878bb785149f314096405a5c0fdc7a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 12 May 2016, 18:57:54 UTC |
8d5b1bd | Thiago Macieira | 01 August 2015, 20:31:55 UTC | configure: present some progress status for the detections The "checking for xxx... [yes|no]" is chosen so that it matches exactly what GNU Autoconf does. That way, any tools that parse the output will have less trouble. This feature is useful for us when debugging a build, as not all checks produce output in the configure summary. Change-Id: Id75834dab9ed466e94c7ffff14456edb646a1ced Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 12 May 2016, 18:31:38 UTC |
c9998b8 | Thiago Macieira | 09 May 2016, 18:19:27 UTC | Fix build with GCC <= 4.2 (FreeBSD 9.x) 15b42af11123f9d1eb4bbd79870185585103ea8d changed the qt_cpu_features variable to be an array and never fixed this #if branch of the code. Change-Id: Id69569111e7d4e619e22ffff144cf930f86f478e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 12 May 2016, 18:31:19 UTC |
29ac941 | Thiago Macieira | 29 April 2016, 01:48:11 UTC | Bearer: replace the use of QMutexPool in the Windows plugin Use a simple Q_GLOBAL_STATIC Change-Id: Ifea6e497f11a461db432ffff1449b14b63628c12 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> | 12 May 2016, 18:31:17 UTC |
e9d1d65 | Thiago Macieira | 11 May 2016, 23:59:20 UTC | src.pro: include the build of bootstrap-dbus in developer builds This is just a compile test for the the bootstrapped version of QtDBus (no QObject). Nothing depends on it in regular, non-cross-compilation builds. Change-Id: Id69569111e7d4e619e22ffff144da8e646d037d9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 12 May 2016, 18:30:57 UTC |
ac2ccb1 | Alex Trotsenko | 11 May 2016, 10:33:05 UTC | QHttpSocketEngine: set error on unsupported operations Force overloads which relate to UDP or listening to fail with a 'UnsupportedSocketOperationError' error code. Change-Id: I057c47864ee1d9c95b413edfda977dd0607844cb Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 12 May 2016, 17:21:53 UTC |
4dc29bc | Giuseppe D'Angelo | 12 May 2016, 10:33:04 UTC | QSharedPointer: move QDebug stream operators into qdebug.h In order to avoid pulling in QDebug when including QSharedPointer. Change-Id: I14b86d1f100ed44a68258c91bbda394b655bac83 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 12 May 2016, 16:41:32 UTC |
f199bb9 | Dmitry Shachnev | 12 May 2016, 08:02:29 UTC | dbustray: Use separate D-Bus connections for each tray icon This allows applications to use two or more QSystemTrayIcons. Task-number: QTBUG-53021 Change-Id: I520db99c1c3718906669d1b544d44a8d2f71e1ce Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 12 May 2016, 13:40:05 UTC |
d6fbb90 | Leena Miettinen | 09 May 2016, 14:42:11 UTC | Doc: Remove references to obsolete reset() function ...from the docs of the signals it emits. Task-number: QTBUG-53228 Change-Id: Ifdd91404cae9dd6480ae29b31f2a48fa024df442 Reviewed-by: Nico Vertriest <nico.vertriest@theqtcompany.com> | 12 May 2016, 12:15:57 UTC |
72e3fcc | Topi Reinio | 10 May 2016, 12:54:24 UTC | Doc: Remove repository name from examplesinstallpath Examples in binary packages now directly match the install path. Change-Id: Ic1487bc766cfd3b0a0a340cc4ae4ba49d953eaa6 Task-number: QTBUG-52953 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 12 May 2016, 12:15:52 UTC |
d8d4129 | Oliver Wolff | 11 May 2016, 11:51:54 UTC | ANGLE: Disable support for shared handles in warp mode on Windows < 8 Shared handles are not supported on Windows 7 and below. If the according flag is set CreateTexture2D will fail with E_OUTOFMEMORY. The check already happens with newer ANGLE versions, which we use in 5.7 but has to happen here as well. Otherwise Qt applications running on Windows 7 and below will crash at startup. Change-Id: I8f539f16dce298611fb1ec7b2f6804d4a04d04e0 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> | 12 May 2016, 12:15:42 UTC |
8643806 | Oliver Wolff | 10 May 2016, 12:00:18 UTC | ANGLE: fall back to warp mode in case of standard VGA driver The combination of vendor and device ID being 0000 indicates, that the standard VGA driver is used, and happens when using Qt in a: - Windows 7 machine without proper GPU drivers - Windows 7 machine with disabled GPU - HyperV vm The default driver does neither support D3D9 nor D3D11 properly so that we have to fall back to warp mode for ANGLE. Change-Id: Ia766e32d680c910a50ec3d6b5002892cdb90fdbb Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 12 May 2016, 12:15:34 UTC |
99ca471 | Marc Mutz | 11 May 2016, 09:53:02 UTC | winmain: port the last remaining Q_FOREACH loop and add QT_NO_FOREACH Port the last remaining Q_FOREACH (over a QVarLengthArray, no less) in winmain to C++11 range-for and mark the library as Q_FOREACH-free, using QT_NO_FOREACH. Change-Id: Ic561080f7dd61d1d853ceb9e211c9b8a23bf05a5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> | 12 May 2016, 11:21:01 UTC |
d70205c | Eskil Abrahamsen Blomfeldt | 11 May 2016, 12:19:09 UTC | Remove dead code from tst_QFont::exactMatch() All this code was skipped on all platforms, so keeping it is just confusing. Change-Id: I405d2e791b22a2494fe5ccac6e3bf08905dc4e5a Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> | 12 May 2016, 10:13:58 UTC |
78eeb6b | Eskil Abrahamsen Blomfeldt | 11 May 2016, 12:10:50 UTC | QFont::exactMatch() should return false for aliases This is a partial revert of 992f233c in Qt 4 repo. The rest of the change cannot be reverted, since it added public API, but that API might be useful anyway. The patch was wrong, basically. QFont::exactMatch() should not claim that you can get an exact match for a typeface alias. It also introduced some weird inconsistencies: For instance, if the first font the alias resolved to in FontConfig did not exist, then exactMatch() would return false, even if it then resolved to the next one which existed. This caused a test failure on OpenSuse, where the preferred font for "sans" is Arial, which doesn't exist, so Roboto will be used instead. [ChangeLog][QtGui][Important Behavior Changes] QFont::exactMatch() now returns false when the provided typeface is an alias. Task-number: QTBUG-46054 Change-Id: I7532d2879b492544620aa0d1d87dd493a4923af9 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> | 12 May 2016, 10:13:42 UTC |
adf85c0 | Oswald Buddenhagen | 12 May 2016, 09:17:22 UTC | Merge 5.6 into 5.6.1 Change-Id: I22003b840f1a7ac685a1ec3353d7e7dbd84c3953 | 12 May 2016, 09:17:23 UTC |
feaef44 | Friedemann Kleint | 12 May 2016, 06:46:13 UTC | Windows: Suppress error dialogs when querying logical drives. Set the error mode flag SEM_NOOPENFILEERRORBOX when calling Win32 API GetLogicalDrives() to prevent it from prompting to insert media as does QStorageInfoPrivate::mountedVolumes(). Task-number: QTBUG-18729 Task-number: QTBUG-32457 Change-Id: I5c76afbb5bf2ec5ec84194650c316fe531578d5b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> | 12 May 2016, 06:58:06 UTC |
46f1c4c | Alexander Volkov | 11 May 2016, 15:42:24 UTC | xcb: Properly interpret data.l[0] field of XdndStatus message The standard https://freedesktop.org/wiki/Specifications/XDND/ states: "In order for the proxy window to behave correctly, the appropriate field of the client messages, window or data.l[0], must contain the ID of the window in which the mouse is located, not the proxy window that is receiving the messages." So compare it with the current target window instead of the current proxy window. Change-Id: Ie31fd3aeadebcf5a9be7b9a9194f35a4ec7bdebb Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 12 May 2016, 05:45:23 UTC |
9ef59b5 | Thiago Macieira | 30 April 2016, 04:39:44 UTC | QMutex: make FUTEX_PRIVATE_FLAG a mandatory feature The flag was introduced in kernel 2.6.22, but we're already depending on features added on 2.6.23 in qcore_unix_p.h (pipe2, dup3, O_CLOEXEC) and 2.6.27 in qnet_unix_p.h (accept4 and SOCK_CLOEXEC). Change-Id: Id5480807d25e49e78b79ffff144a093c9e30cd96 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 11 May 2016, 22:22:50 UTC |
6bcd27b | Mitch Curtis | 10 May 2016, 12:35:20 UTC | Document how to save an application using QUndoStack Change-Id: Ic61374d5b6ce395dfe8d0b30813ea437b5e16e9d Task-number: QTBUG-52497 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> | 11 May 2016, 17:38:23 UTC |
37a983c | Friedemann Kleint | 10 May 2016, 14:24:08 UTC | Dirview example: Add option for DontUseCustomDirectoryIcons. This enables people to toy around with the option and check what impact it has. Change-Id: I8b49c31211cc48721b3326eea48b4e74967b1a92 Reviewed-by: Sérgio Martins <iamsergio@gmail.com> | 11 May 2016, 17:29:17 UTC |
36578d4 | Gabriel de Dietrich | 11 May 2016, 00:01:47 UTC | Remove wrong doc note for QPlatformBackingStore::flush() This is no longer true on at least Cocoa, Windows and xcb. Change-Id: I214caae46a8707ab7c89138646219140079e919a Reviewed-by: Jake Petroules <jake.petroules@qt.io> | 11 May 2016, 17:21:18 UTC |
e2e0dfe | Marc Mutz | 11 May 2016, 09:53:02 UTC | QtCore/QtDBus/QtSql: port the last remaining Q_FOREACH loop and add QT_NO_FOREACH Port the last remaining Q_FOREACH user in QtCore to C++11 range-for and mark QtCore, QtSql and QtDBus as Q_FOREACH-free, using QT_NO_FOREACH. Change-Id: Ia6f99139cb1ca4a8bbe9e445421592242e048b0a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 11 May 2016, 16:55:37 UTC |
f0d7080 | Marc Mutz | 11 May 2016, 09:53:02 UTC | qmake/tools: port the last remaining Q_FOREACH loops and add QT_NO_FOREACH Port the last four remaining Q_FOREACH users in qmake and uic to C++11 range-for and mark all qtbase tools (incl. qmake) as Q_FOREACH-free, using QT_NO_FOREACH. Change-Id: Ief4e5877269e7a853e4cf05e58861a448e822d3d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 11 May 2016, 16:55:32 UTC |
81793b8 | Marc Mutz | 10 May 2016, 08:49:11 UTC | Add QT_NO_FOREACH to disable foreach and Q_FOREACH It has been known for a long time that Q_FOREACH produces inferior code to other looping constructs, and the use of it in Qt library code was informally frowned upon since forever (pun intended). Yet, to this day, several thousand foreach/Q_FOREACH loops have been added to Qt libraries, and while many were ported to range-for in Qt 5.7, there are still new ones added every day, which is a nuisance, to say the least. This patch introduces a technical way to prevent new foreach use to creep into Qt libraries after they have been cleaned, by simply not defining either Q_FOREACH or foreach when the QT_NO_FOREACH macro is defined. This way, one library at a time can be ported away, and, once ported, is guaranteed to actually stay ported. Change-Id: Ie042e84d6c7d766bd16095f9bc1118a8e0ce0c7a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> | 11 May 2016, 16:55:22 UTC |
c46f74d | Laszlo Agocs | 22 April 2016, 14:38:32 UTC | eglfs: Support dynamic mouse cursor show/hide with DRM HW cursor Task-number: QTBUG-52743 Change-Id: I0bea1451dfe7b049c129b11716d593115e3d8374 Reviewed-by: Louai Al-Khanji <louai.al-khanji@qt.io> | 11 May 2016, 12:36:38 UTC |
edc4f02 | Oswald Buddenhagen | 11 May 2016, 10:40:14 UTC | make -R and -D not affect qmake this was meant to be part of d8be8110a, as qmake is obviously also a bootstrapped tool. -I/-L/-F/-l/-fw already had no effect on qmake. Change-Id: I5095742ef5401558cc4432e7a774d0851d417bb0 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> | 11 May 2016, 11:53:11 UTC |