- Apr 19, 2017
-
-
Oliver Wolff authored
CoreWindow::GetAsyncKeyState returns flags and not enums so checking equality does not give the needed result. As seen in qwindowskeymapper.cpp key events that only contain a modifier key should not have the key itself as a modifier when calling handleExtendedKeyEvent. With the current approach the modifier states are the same as on desktop Windows. Task-number: QTBUG-58750 Change-Id: Ie0f3e1d3e8294e1a6b41c9223a7a5153306579f6 Reviewed-by:Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Oliver Wolff authored
CorePhysicalKeyStatus::KeyStatus does not give the information we are after so we have to keep track of "auto repeat" state of the keys ourself. Task-number: QTBUG-59232 Change-Id: I22aa185780e5fa1f7f3c23c2deb2a0dde0c4a582 Reviewed-by:Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Allan Sandfeld Jensen authored
Fixes two separate errors. QImage::transform was incorrectly adding colors to the color-table of the returned image when the converted image would not be indexed, and qpnghandler was looking at non-empty color- table instead of color format. Task-number: QTBUG-43708 Change-Id: Ife14b6428ca65ac7d3a0b36a89a73e56d64586b4 Reviewed-by:Eirik Aavitsland <eirik.aavitsland@qt.io>
-
Elvis Angelaccio authored
QLineEditIconButton currently draws a fully transparent pixmap in its paintEvent() function, when the line edit is empty. This does not work when there is another trailing QAction that is visible even when the line edit has no text, as reported in QTBUG-59957. To fix this issue, make sure the clear button is always the leftmost button. Task-number: QTBUG-59957 Change-Id: I8a4f96aae07856aa0e1053ebb338ba9bdf052a16 Reviewed-by:Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Timur Pocheptsov authored
A signal emitted after the first 'isOpen' check on QNetworkReply can trigger a slot that aborts/closes our reply. So before we can append any data to reply's buffer, we have to re-check that we're still open. Task-number: QTBUG-59909 Change-Id: I781d5a4fd5fc30d485af63f45cf36c254378af64 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Alex Trotsenko <alex1973tr@gmail.com> Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Stephan Binner authored
Change-Id: I78b66e8a98458736c69c4955390a98f8889968ea Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Stephan Binner authored
Change-Id: I0be9e4293dfcef3c144f4e998ea071336c4d56d3 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Stephan Binner authored
Change-Id: Iaadc4e27ee2a75a8c053de4438ef74daaa48ee64 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Stephan Binner authored
Change-Id: Ie757e4ecb9ced14bd809f56d2d3d09274fc3bc39 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Friedemann Kleint authored
Mark QPlatformGraphicsBuffer and QSystemTrayIcon as internal. Change-Id: I39e5b4f635fca21ab0544cd840a113514b6b1e99 Reviewed-by:Laszlo Agocs <laszlo.agocs@qt.io>
-
Friedemann Kleint authored
Change-Id: If283cecbefdf20c80ce00f689003f6a0ed9fe42b Reviewed-by:Shawn Rutledge <shawn.rutledge@qt.io>
-
- Apr 18, 2017
-
-
Tor Arne Vestbø authored
Allows categorized logging before QCoreApplication has been created, which otherwise would silently fail to output anything because the category would never be enabled, despite QT_LOGGING_RULES being set. Change-Id: Ia733105c5b6f28e22af511ced5271e45782da12b Reviewed-by:Thiago Macieira <thiago.macieira@intel.com>
-
Friedemann Kleint authored
Preserve the device pixel ratio in the various helper functions and when drawing. Task-number: QTBUG-60026 Change-Id: Ieac9360b00044b6aedd0d3e1ad6e3b16d436f20f Reviewed-by:Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Nico Vertriest authored
qhstspolicy.cpp:105: warning: Undocumented parameter 'flags' in QHstsPolicy::QHstsPolicy() qhstspolicy.cpp:105: warning: No such parameter 'includeSubDomains' in QHstsPolicy::QHstsPolicy() qnetworkaccessmanager.cpp:732: warning: Undocumented parameter 'knownHosts' in QNetworkAccessManager::addStrictTransportSecurityHosts() Change-Id: I24217d328df12febab30e19e2abd351e87007959 Reviewed-by:Frederik Gladhorn <frederik.gladhorn@qt.io>
-
Friedemann Kleint authored
Preserve the device pixel ratio. Task-number: QTBUG-60026 Change-Id: Ie818c582fe2c7b11ceb347b39cfbf7ea49361021 Reviewed-by:Shawn Rutledge <shawn.rutledge@qt.io>
-
Leena Miettinen authored
Mention that it is a private function. Also mention using QTest::createTouchDevice() for adding simulated touch screens to autotests. Task-number: QTBUG-26647 Change-Id: I08c12225768e76b1b9e3fc0fda00af86d44ca766 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by:
Bo Thorsen <bo@vikingsoft.eu> Reviewed-by:
Rainer Keller <Rainer.Keller@qt.io>
-
Friedemann Kleint authored
Preserve the device pixel ratio. Task-number: QTBUG-60026 Change-Id: I91a1bda6ce4defd064ec7edfcea40ff192a9068f Reviewed-by:Shawn Rutledge <shawn.rutledge@qt.io>
-
Nico Vertriest authored
qopengltexture.cpp:3476: warning: Undocumented parameter 'layerCount' in QOpenGLTexture::setCompressedData() and QOpenGLTexture::setData() qimage.cpp:2127: warning: Undocumented parameter 'format' in QImage::reinterpretAsFormat() Change-Id: I17feb2256a29f3bb722d2de3a83b390abff85a35 Reviewed-by:Sean Harmer <sean.harmer@kdab.com>
-
Nico Vertriest authored
Change-Id: I79d446289b4450d2fcce097cf46d2cf7b6d969da Reviewed-by:Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-
Tor Arne Vestbø authored
Change-Id: Ice1b27ff93de2d369dc6b66c72a64eb05da5639c Reviewed-by:Simon Hausmann <simon.hausmann@qt.io>
-
Liang Qi authored
Conflicts: src/corelib/global/qglobal.cpp Change-Id: I375fa4afa662fa411a15f212ebd5f2f0dffdba7f
-
Paul Olav Tvete authored
Change-Id: Ia74aeefdba3ac6b831aeeaff40600e30d90183d8 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Tasuku Suzuki <tasuku.suzuki@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- Apr 17, 2017
-
-
Thiago Macieira authored
Change-Id: I0e1a09998253489388abfffd14b611b1403a0c9f Reviewed-by:Jake Petroules <jake.petroules@qt.io>
-
Ihor Dutchak authored
Initialize a deleter for a new object, created by QSharedPointer::create(), only after the object is actually constructed. [ChangeLog][QtCore][QSharedPointer] Fixed undefined behavior when creating an object with QSharedPointer::create() and its conscructor throws an exception. Task-number: QTBUG-49824 Change-Id: I07f77a78ff468d9b45b8ef133278e8cdd96a0647 Reviewed-by:Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Thiago Macieira authored
drmEventContext has grown by one pointer, so the build fails with an error about a member without initialization. qeglfskmsgbmdevice.cpp:147:5: error: missing initializer for member ‘_drmEventContext::page_flip_handler2’ [-Werror=missing-field-initializers] Change-Id: I0e1a09998253489388abfffd14b6014b1ddc90e1 Reviewed-by:Simon Hausmann <simon.hausmann@qt.io>
-
Thiago Macieira authored
Clang 3.8 has support for __attribute__((target(xxx))) and its SIMD headers can be included unconditionally. Change-Id: Ic15b7ff417c8412893e5fffd14b5b42b950b48d7 Reviewed-by:Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Apr 16, 2017
-
-
Thiago Macieira authored
Change-Id: Id69a70a52573241e1b6a05bd62a3fd01a8e78550 Reviewed-by:Jake Petroules <jake.petroules@qt.io>
-
- Apr 15, 2017
-
-
Thiago Macieira authored
_mm_cvtps_ph is usually defined as a macro: qfloat16.h:122:37: error: use of old-style cast [-Werror=old-style-cast] Change-Id: Icd0e0d4b27cb4e5eb892fffd14b516ec47826c0c Reviewed-by:
Ville Voutilainen <ville.voutilainen@qt.io> Reviewed-by:
Marc Mutz <marc.mutz@kdab.com>
-
- Apr 14, 2017
-
-
Gabriel de Dietrich authored
The late geometry update on the widget has been confusing some of our users. Change-Id: I7f2600322be0a0c54fac3beb42065413a0693f74 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Marc Mutz <marc.mutz@kdab.com>
-
Dongmei Wang authored
When tearing off either a non-scrollable multi-colume menu or a scrollable menu, displaying the torn-off menu crashes. The root cause is when the torn-off menu is created, the tear-off menu's style, margins and other attributes are not set to it. The patch is to ensure the torn-off menu has the same attributes as the tear-off menu does and set the torn-off menu with a correct menu size. Task-number: QTBUG-24815 Change-Id: Icea45f149ea8792671af4a62e62cad6ee01a1f95 Reviewed-by:Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-
Dongmei Wang authored
Currently the contents margins and the menu paddings are not considered for calculating the menu size, the positions and the size of tear-off bar, scrollers and the positions of the menu items when scrolling the menu, which results in the following problems when valid contents margins and/or menu paddings are set: - The tear off area is displayed in a wrong position. The mouse events are not handled correctly in the tear off area. For example, when you click in the tear off area, the menu should be torn off but nothing happens - For a multi-column menu, the menu width is not calculated correctly - For a scrollable menu, - the menu width is not calculated correctly - the menu items are not displayed in correct positions - the scrollers are not displayed in correct positions - menu items are displayed on the area of borders and margins when scrolling the menu - the last menu item is not displayed above the bottom of the content area when scrolling the menu to the end. The changes are to fix the problems above. Change-Id: I7931e1088dff0029f2d4825e2aa34b4e32fdccd9 Reviewed-by:Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-
Marc Mutz authored
Seems like an obvious omission. [ChangeLog][QtCore][QVariant] Can now convert QUuid to and from QByteArray, not just QString. Change-Id: Ib56ae86ca0c27adaf1e095b6b85e64fe64ea8d18 Reviewed-by:Thiago Macieira <thiago.macieira@intel.com>
-
Marc Mutz authored
When multiplying a QMatrix4x4 by itself, we were clobbering the very matrix we read from. Employ read-caching to avoid this aliasing problem. [ChangeLog][QtGui][QMatrix4x4] operator*=() now calculates the correct result even if the RHS and LHS are the same object. Change-Id: I8534d56cfdd62c336577125127f05173fcec2873 Reviewed-by:Sean Harmer <sean.harmer@kdab.com>
-
Jake Petroules authored
The original commit only added support for GCC and Clang, but not ICC. Amends 73331eeb Change-Id: Id7638cf1b538edb1008fb3aa10754c1f517a994f Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
- Apr 13, 2017
-
-
Friedemann Kleint authored
Q_INIT_RESOURCE() should not be within the Qt namespace; the namespace is appended to the resource function. Task-number: QTBUG-60118 Change-Id: I05203c3196ccdcffaf27658bcd7f3ec1c25f22d9 Reviewed-by:Oliver Wolff <oliver.wolff@qt.io>
-
Simon Hausmann authored
Similar to the parent commit, this patch adds a unified code path in qmake itself for installing program files while preserving their original last modification timestamp. Change-Id: I7b7dcfa6228c2bfd48ea6036549398bb6f90032f Task-number: QTBUG-59004 Reviewed-by:Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Jake Petroules authored
The OpenGLES framework is only supported on iOS and tvOS, and does not exist on macOS and watchOS. Change-Id: I643d3bdac522b67a8d945648dfcc8f1780ab0d7f Reviewed-by:Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-
- Apr 12, 2017
-
-
Gabriel de Dietrich authored
Already added in the "mac" clause. Change-Id: I272882347cb65ef32e5aae7b1eee9f15cede6fcb Reviewed-by:
Jake Petroules <jake.petroules@qt.io> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Samuel Gaist authored
The documentation of QSyntaxHighlighter still uses the deprecated QRegExp class. This patch updates the code samples as well as cleanup some typos. Change-Id: I87b525fddb560b7c5bb38f96d9aaceadb594f76c Reviewed-by:Sze Howe Koh <szehowe.koh@gmail.com>
-
Giuseppe D'Angelo authored
Found by clazy. Change-Id: I66b6698c309720891db83626e18c5e1baca19091 Reviewed-by:Thiago Macieira <thiago.macieira@intel.com>
-