swh:1:snp:673156c31a876c5b99b2fe3e89615529de9a3c44

sort by:
Revision Author Date Message Commit Date
5bfb6ce Add QPointF/QRectF scale functions Change-Id: I91c5afc061e91c6088398d039c1c1fd3d79254ca Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 01 July 2015, 12:30:10 UTC
b93264a Clean up comments and dead code Change-Id: Iadaca71328404bd6c526af5095b32e5e35548182 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 01 July 2015, 12:03:38 UTC
d6813d0 Add application attribute to disable highDPI scaling Main use case is for KDE Plasma, which needs to know about real window system coordinates. Can also be used by applications that do all the scaling manually, and that do not want to have Qt scale the coordinate systems and painters. Change-Id: Ic595131c5e2fb4c0af95e9b5bd3e40beee86760b Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 30 June 2015, 12:38:55 UTC
7809e77 Add environment variable to set per-screen scaling Change-Id: I0fce05998ba6092c4dd1d64790c56c0668383477 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 30 June 2015, 12:38:45 UTC
76550ed Use proper line spacing for font test Since we're making things look pretty :) Change-Id: Ibc2e5f7315b9ecf789b8c7cdbf100632b9a2b4c0 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 30 June 2015, 12:37:14 UTC
47b3e53 Fixup screens display. Support cases where one or more screens have negative positions. Make the text size a (constant) fraction of the painted screen rectangle height. Change-Id: Iea39aa49281cfe2b97c3e9b2414ee5db6dfe1fbb Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 29 June 2015, 12:38:06 UTC
e5d9584 Fonts manual test: print useful text. Mention if this is point or pixel sized text. Change-Id: I9996bca8370e2822a14e8090b64da2d21b40e98e Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 29 June 2015, 12:37:32 UTC
7364a32 Remove QPlatformScreen::screenGeometry() QScreen's geometry is always determined by the platform screen, since there is no Qt API to resize or move a screen. Therefore, it makes no sense for the platform screen to ask QScreen for the geometry. Change-Id: Iedaa40e06e3a878f4e4e13fddd13a67a62d1f0f9 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 29 June 2015, 10:34:41 UTC
b454833 Handle closeEvent() properly ...just because we can. Change-Id: I72fcb05711c3b5ecee250fdf0adfc0b8304590cb Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 29 June 2015, 10:34:27 UTC
975b63d Show initial scale factors Initialize the sliders to the currently active factors. ...and fix up the layout so the sliders align properly, and aren't squashed when resizing. Change-Id: I37ef853b0fd5a26939134da7116778f898f52a88 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 29 June 2015, 10:34:08 UTC
38c6d28 Manual test for physical sizes Change-Id: Ic312bff631380fa5b40b927b092eb17940026b94 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 29 June 2015, 10:33:50 UTC
60f5e7c Scale logicalDpi when turning on screen scaling Assume that the logical DPI for the primary screen is sane, and keep font sizes constant as screens are scaled. The global scale factor will act as a zoom level, and will cause all fonts to be bigger. Note that since we do not change logicalDpi after application startup, the manual test sliders will not match what happens with auto scaling. We may want to fix that... Change-Id: I5a3daa57c2dacf0158836492d31573723e49399a Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 18 June 2015, 13:16:19 UTC
30ab918 Only turn off font hinting when really scaling We don't want to turn off font hinting based on whether auto-scaling is on, otherwise Qt Creator will look bad on a low-DPI screen. Instead, we turn it off only if we have at least one screen that is scaled. QHighDpiScaling::isActive() now means that there is actual scaling going on. There is currently no need for the old meaning, so this change does not include QHighDpiScaling::isEnabled(). Note that nothing can save us from the case where there is one high-DPI and one low-DPI screen. In that case we choose looking bad on the low-DPI screen instead of looking like crap on the high-DPI screen. Also note that our font system we doesn't allow us to change our minds on hinting later when screens are plugged in or removed. Change-Id: I14a4ec7a49f4ba74a4c74684c7b951d0a71b951d Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 18 June 2015, 12:52:52 UTC
41bb5f3 Make drag and drop work again after the merge QBasicDrag does not have enough information to map the coordinates, so we move that responsibility to the plugin. Change-Id: I6eb87014b3259844bb3373ecf961d92debdb2b84 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 17 June 2015, 10:49:31 UTC
5695243 dirty hack to make setScreenFactor work This is a seriously dirty hack, but without this, screen geometries will be wrong when scale factors are changed after application startup. Change-Id: Ia39164303ef648ec3752d7f4b9db06477a2d3fb4 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 17 June 2015, 10:49:21 UTC
00d5e68 Add global scale option to manual test Change-Id: I24e019a4a960425028c982dcc94d82643c836003 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 17 June 2015, 10:21:53 UTC
92fb72d Update doc. Move to the class documentation in the cpp file, focus on documenting the class and not necessarily high-dpi scaling in general. Change-Id: I4f04398904325b2f9061db8d3a82cd362276e977 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 16 June 2015, 10:57:05 UTC
deeaf98 Windows: Fix compilation after f5bdd92e5d0217bf3eec13395e4baa95bd8fda37. Bring back static versions of the constrained scaling functions. To be squashed with dbe2dd295cce19680f8ba7a7cca65150701051e2 . Change-Id: Id05b8085ab56dd777ce1ab3b7da3ce47c01dcb00 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 12 June 2015, 07:52:15 UTC
ac2a44c Add QPlatformWindow::windowClosestAcceptableGeometry(). Add a function to determine the closest acceptable geometry (height-for-width) to QPlatformWindow similar to the existing QPlatformWindow::windowMinimumSize(), windowMaximumSize()... Clean up the hack in the Windows platform plugin accordingly. Change-Id: I96e943cfdbafdd0ff444e0d53ee0bdf8603d33df Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 10 June 2015, 13:03:24 UTC
34e06b4 Make testInputEvents not use QWindowSystemInterface Use QTestLib instead, which will handle the QHighDpi coordinate scaling. Change-Id: Ib2ab9c6edfa6ffbf594ab6251c4b0b83f9581d6c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> 09 June 2015, 15:21:09 UTC
5964294 Simplify tst_qwindow::positioning() platformScreenForWindow() is currently implemented as: return window->screen()->handle(); Use window.screen() directly and avoid the QHighDpi conversion call. Change-Id: I0f6487efc4d1494813179665b21150f3ca7a8666 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 09 June 2015, 15:20:51 UTC
0963be6 Merge remote-tracking branch 'qt/dev' into dev-highdpi Conflicts: src/gui/kernel/qsimpledrag.cpp src/gui/kernel/qwindowsysteminterface.cpp src/gui/kernel/qwindowsysteminterface_p.h src/plugins/platforms/xcb/qxcbwindow.cpp Change-Id: Icd887552ade61d6a2b2527383970f7145aa00faf 09 June 2015, 11:59:07 UTC
eacfbbf Testlib: Export blacklist functions So they can be used in QtQuickTest. Change-Id: I64925feb243fb27234951276d81119bc1f6d5a56 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 08 June 2015, 10:54:35 UTC
af75a27 itemsviews: Add 15 QList::reserve() calls Change-Id: I4ed8872ecd560d51c00cb3d2b93e082c5abdd8dc Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com> 08 June 2015, 10:50:56 UTC
896da75 make the enums of QProcess known to the meta object system This enables users to construct enum values from strings and provides useful qDebug operators. Task-number: QTBUG-10777 Change-Id: Ia3592f00d559b980b4875ee8fb5e8ffb4328d464 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 08 June 2015, 08:44:24 UTC
4bb00d9 Export class QAccessible::ActivationObserver. Change a21dfab54ed518266c42d3e87e02bd991de8486e de-inlined its destructor, so, the class needs to be exported. Change-Id: I32d21622a944a93718f549060e5e5f7e71fd2646 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 08 June 2015, 08:17:08 UTC
7e39096 Fix incorrect expression in directfb keyboard code Add missing equal sign to have the result of the OR stored inside the modifiers variable. Fixes Coverity CID#89071. Change-Id: I0ee1a080f5f6757ae7646733aa3bb5cf8c6cdeed Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 08 June 2015, 07:22:31 UTC
ae4bc7e Remove bogus call and comment from addressbook QMap::empty() does not empty the list but is the STL version to ask if the map is empty. Remove the comment and code as operator>> of QDataStream will clear the map. Fixes Coverity CID#89073 Change-Id: I259e518b44afd42b698368b42aedcc3b84240aca Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 08 June 2015, 07:22:20 UTC
657a8cf Remove exec bits from files that should not be executable Change-Id: I66f49c6db82eadc3b11cc9b1cf01375e9596a8e6 Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl> 07 June 2015, 22:50:19 UTC
f21d86b Fix WEC2013 build of sqlite3. Change-Id: Iaa953df941d888b8ae1a590dd728a1d819d7e604 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl> 07 June 2015, 09:29:16 UTC
19ed646 Make the test pass on high res mac displays Change-Id: I05f156faae85abe11edc954dd358ddfcfd320c74 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 06 June 2015, 12:01:30 UTC
83eb09d Wait for the window being active before sending it events Change-Id: I2f5d6e37e630d70c4ba3ae81e807a89c447c8b26 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 06 June 2015, 12:01:25 UTC
3658b62 Fix the autotest on Mac Don't hit the scrollbar with the mouse click Change-Id: Ie82d8c5c058df9a482e7d5de2fe40681572f19ad Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 06 June 2015, 12:01:16 UTC
73cc3db Fix qgraphicswidget::initStyleOption autotest make sure it'll work with the new mouse handling as well. Change-Id: Ia2d567e618b77b0fa3532ee6c335cbdf5e496241 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 06 June 2015, 12:00:52 UTC
71388c3 Clean up the qgraphicsscene autotest Change-Id: I8950a3eb9792dff90ed64cd3bf1d572745b05886 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 06 June 2015, 12:00:32 UTC
d7f15e6 Manual touch test: Add gestures. Add command line options for - Grabbing gestures - Suppressing mouse and touch events Add gesture events to the log. Add a hierarchy of gesture classes storing the parameters of finished gestures with drawing functionality and implement for pan and swipe. Task-number: QTBUG-46195 Change-Id: I019fe5b60116316a54e11b2c30e1d34f5e72bcf0 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> 06 June 2015, 06:26:39 UTC
275a970 doc: Added Q_NEVER_INLINE to ignored tokens This helps qdoc's parser. Change-Id: I4c7f2dff348b87659c93ddb14d012d5bf2e626f2 Task-number: QTBUG-46498 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> 05 June 2015, 19:44:35 UTC
9e6a135 Windows: Scale the DnD pixmaps. Bring back code from the DPR scaling. To be squashed with dbe2dd295cce19680f8ba7a7cca65150701051e2 . Change-Id: I14dc868abf80c75f58b952c8636dd786e78fbd7c Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 05 June 2015, 17:42:59 UTC
181ee8f Keep the mouse timestamp for tests closer to the actual time Pass on the requested delay into the mouse events. We don't care about single msecs as the surrounding code also takes time that we don't consider and whenever we generate a release we add 500ms of time skew anyway. The initial press of a double click has to increment the timestamp, just like all other mouse events do. Change-Id: Ifb94830f9f878ce87d92bfd86c72a16b55052f3b Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> 05 June 2015, 14:29:21 UTC
0dd0d2f qdoc: fix invalid memory access in HtmlGenerator HtmlGenerator::highlightedCode() contained a potential out-of-range- memory reference, which is prevented by this fix. Change-Id: I3bc87a8287e1d51c2786f5ec42384dbac04c9636 Task-number: QTBUG-45643 Reviewed-by: Martin Smith <martin.smith@digia.com> 05 June 2015, 09:39:39 UTC
8b1746b qdoc: Just reformatting and removing dead code Whitespace only. Change-Id: I6e4b55ad55e22da4150530457202f144fcc7f416 Reviewed-by: Martin Smith <martin.smith@digia.com> 05 June 2015, 09:39:12 UTC
e36de4b doc: Remove uses of \returns It is a doxygen command that is not recognized by qdoc. Change-Id: I26b0c54a1aa715fc9d8b70e411502f46fc6bc0f1 Task-number: QTBUG-46495 Reviewed-by: Martin Smith <martin.smith@digia.com> 05 June 2015, 09:38:27 UTC
79a97be doc: Remove uses of \mainclass This qdoc command is deprecated. Task-number: QTBUG-46476 Change-Id: Iee36f91bdcf500c2e88022a5f8a9c3accc6048c2 Reviewed-by: Martin Smith <martin.smith@digia.com> 05 June 2015, 09:37:55 UTC
b3d09ec Move the function helper to its own file Also make it a class so a forward header is generated by syncqt Change-Id: Ibab6b925dc6e9dab1b617b9b4027a4144e4a3773 Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> 05 June 2015, 07:48:17 UTC
75f119d Screen geometry and window position test ... also add cursor position visualization to the cursor position widget. Change-Id: Ied0f2d46695cd15d5fc0512c9f0094ecff707388 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 04 June 2015, 19:41:47 UTC
1ecbe93 Don't make all sizes (0,0) Change-Id: I1527261bad272114e805c6956f171865f3879c12 Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 04 June 2015, 19:36:23 UTC
5098eae Make QCursor::pos() actually follow the cursor pos We need to map based on the screen where the cursor actually is. Drag and drop works on xcb now. Note that this change means that QMouseEvent::globalPos() is no longer necessarily the same as QCursor::pos(). Change-Id: I0a4aa0806a3251881890ac6daa09ac7c6c2fd74c Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 04 June 2015, 12:32:26 UTC
f5bdd92 Move min/max size constrain logic to QPlatformWindow. This increases the uniformity of the to/fromNativePixels functions by removing a special case, and avoids pulling the qwindow_p.h details into qhihgdpiscaling.cpp. Keep the logic of constraining the device-independent size. Change-Id: Id0dae30a7c0170ff2e5d21b94d56719cc900c726 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 04 June 2015, 10:12:57 UTC
bf0bdc5 Fix crash in tst_qfiledialog on OS X The test aggressively shows and hides dialogs and popups, and we would end up installing this global event monitor frequently. However we never cleaned up properly, for example if the window didn't get hidden properly or if the monitor was already installed for some reason. Change-Id: I6fa28eaeb03e089ced735912dbe29b0b8ad75d58 Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com> 04 June 2015, 05:56:24 UTC
80bc743 Fix tst_qglobalstatic on OS X OS X has an unreasonably low default for the maximum number of open file descriptors (256). The unit test creates about 200 threads and each thread in Qt creates at least two file descriptors (pipe), so the test cannot execute. Change-Id: I656367bca6d0a40fb1edb8c72914304db0f429ac Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 04 June 2015, 05:56:16 UTC
ccad001 Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev 04 June 2015, 05:56:06 UTC
dc2617f Fix build on QNX 650 Commit 2fa7b3b317fa941064ec4ba62163e3244becf55a broke the build, the compiler (gcc 4.4) doesn't like the mismatch between constructor declaration and definition. Change-Id: Ied1f3293c21871276ce8d2db3d2e6c06c75ade90 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> 03 June 2015, 12:31:35 UTC
a21dfab De-duplicate vtables III: QAccessible By making the destructor (usually the first non-inline, non-pure, virtual function, and therefore the trigger for most compilers to emit the vtable and type_info structures for the class in that TU) out-of-line, vtables and, more importantly, type_info strucures for the class are pinned to a single TU. This prevents false negative dynamic_cast and catch evaluation. In this third batch, we de-inline dtors of exported public classes from the QAccessible subsytem. Since they are already exported, users of these classes are unaffected by the change, but since it's public API, and the dtors may have been de-virtualized and inlined into application code, we need to avoid adding code to the out-of-line dtor until Qt 6. Change-Id: I5324bd1b3b9210a3ac5cf4eee9317a34e4a3b048 Reported-by: Volker Krause <volker.krause@kdab.com> Task-number: QTBUG-45582 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 03 June 2015, 12:03:11 UTC
f0eafa5 QAccessibleInterface: move implementation beside doc block Adjust doc text to what's used elsewhere in QAccessible. Change-Id: I8bd194e55374b8258361ae254817a4298c4fa3dc Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> 03 June 2015, 12:03:06 UTC
8d9d609 De-duplicate vtables, part II: exported public classes By making the destructor (usually the first non-inline, non-pure, virtual function, and therefore the trigger for most compilers to emit the vtable and type_info structures for the class in that TU) out-of-line, vtables and, more importantly, type_info structures for the class are pinned to a single TU. This prevents false negative dynamic_cast and catch evaluation. In this second and last batch, we de-inline destructors of exported public classes. Since they are already exported, users of these classes are unaffected by the change, but since it's public API, and the dtors may have been de-virtualized and inlined into application code, we need to avoid adding code to the out-of-line destructor until Qt 6. Change-Id: Ieda9553cb4b0dae7217c37cc7cde321dd7302122 Reported-by: Volker Krause <volker.krause@kdab.com> Task-number: QTBUG-45582 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 03 June 2015, 12:02:59 UTC
133e402 De-duplicate vtables, part I: exported private classes By making the destructor (usually the first non-inline, non-pure, virtual function, and therefore the trigger for most compilers to emit the vtable and type_info structures for the class in that TU) out-of-line, vtables and, more importantly, type_info structures for the class are pinned to a single TU. This prevents false negative dynamic_cast and catch evaluation. In this first batch, we de-inline destructors of exported private classes. Since they are already exported, users of these classes are unaffected by the change, and since it's private API, we don't need to avoid adding code to the out-of-line destructor until Qt 6. Change-Id: I450707877d2cb6a77f79ae1dd355facb98d6c517 Reported-by: Volker Krause <volker.krause@kdab.com> Task-number: QTBUG-45582 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 03 June 2015, 12:02:55 UTC
b295afb QStaticTextUserData: declare dtor out-of-line and export class De-duplicates vtables and enables RTTI on this class hierarchy. Export, as QOpenGLStaticTextUserData (QtOpenGL) inherits it. Change-Id: I0662870538c35f23baf6bde4594ec8b9055efae7 Reported-by: Volker Krause <volker.krause@kdab.com> Task-number: QTBUG-45582 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> 03 June 2015, 12:02:49 UTC
2b5fef7 remove now superfluous eval calls Change-Id: I743f1ec35101aad0ab71cf10932d144a1b04f7e6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 03 June 2015, 11:26:53 UTC
3ce99ad use INSTALLS instead of DEPLOYMENT The DEPLOYMENT variable has been deprecated. Change-Id: I1c7c07b36a2e665ae302e4f43f7f2dc752f3c1f4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 03 June 2015, 11:26:46 UTC
e2f66f9 Merge remote-tracking branch 'origin/5.5' into dev Conflicts: src/corelib/global/qnamespace.qdoc src/corelib/io/qwindowspipereader.cpp src/corelib/io/qwindowspipereader_p.h src/corelib/statemachine/qstatemachine.cpp src/corelib/statemachine/qstatemachine_p.h src/plugins/platforms/xcb/qxcbconnection.h tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp tests/auto/tools/qmake/tst_qmake.cpp tests/manual/touch/main.cpp Change-Id: I917d694890e79ee3da7d65134b5b085e23e0dd62 03 June 2015, 08:23:56 UTC
77162b1 Print "deprecated" warning on QT_DEVICE_PIXEL_RATIO usage. Also clean up the env. variable definitions. Change-Id: If51ab515d7d7d6be9b984417ce7262a83ea48a66 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 03 June 2015, 07:59:18 UTC
dd274a5 Rename ReturnKey to EnterKey This makes the terminology consistent with Sailfish OS and the QNX QPA. The kImePlatformDataReturnKeyType in the iOS QPA is not changed to not break compatibility. Also, improve documentation. Change-Id: I2780de5b1e9277185ae1d4d9bbc67e36682fbfba Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> 03 June 2015, 07:55:02 UTC
3941310 Fix drag and drop for Xcb Make the xcb plugin work in native coordinates, using platform windows as much as possible. As part of this, replace QMouseEvent in QBasicDrag with just a QPoint. This is private API, so we can change this without warning. In addition to xcb, QBasicDrag is used in QSimpleDrag and for Wayland. QSimpleDrag does not yet have a fix for highDpi, but it should continue working in the non-scaled case. Wayland (and any other module which uses QBasicDrag) will need a compile fix. Also fix bug in QWindowSystemInterface: handleDrag()/handleDrop() take positions in window local coordinates, not global. Change-Id: I86543e4f52a7b3ba1efeac815cf89bbd97c0a0a2 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 03 June 2015, 07:51:47 UTC
754efa5 Merge "Merge remote-tracking branch 'origin/5.5.0' into 5.5" into refs/staging/5.5 02 June 2015, 23:39:22 UTC
933bf17 QFramePrivate & subclasses: declare dtor out-of-line De-duplicates vtables and enables RTTI on this class hierarchy. Export QFramePrivate, as QAbstractScrollAreaPrivate (a subclass) is exported, too. Change-Id: I541886373435dc49c4267190a7191e2436f4c95e Reported-by: Volker Krause <volker.krause@kdab.com> Task-number: QTBUG-45582 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 02 June 2015, 21:59:28 UTC
6a86b8f QTestLib: Move lastButton member into implementation Keeping a static variable in an inline function is a bad idea because each definition of that function will have its own version of the variable. As qtestmouse.h can be included multiple times in the same test (via some utility classes as with tst_qquickflickable), this leads to confusion. Change-Id: I80f198817c34c3a7e07bf6944189927817efb8a6 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com> 02 June 2015, 21:55:54 UTC
f0a4d64 QRunnable: add Q_DISABLE_COPY ...but only for Qt 6. It's a source-incompatible change, e.g. in a user hierarchy of clone()able runnables. Change-Id: I8610308dea46da19bda5c96985d35f31c43484be Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 02 June 2015, 21:51:05 UTC
2fa7b3b Q(Unhandled)Exception: declare dtor out-of-line De-duplicates vtables and enables RTTI on this hierarchy. This is esp. important for exception classes, as RTTI is used to select the catch clause to handle the exception in-flight. The issue is made a bit complicated by the fact that the exception specification changed from C++98 to 11 and that C++98 clients require the empty throw() specification while we don't want to introduce warnings for C++11 users. Let's hope no compiler includes throw specs into the mangled names. Task-number: QTBUG-45582 Change-Id: If086c8c38fccdc2c9c7e2aa7a492192cc1f86a6c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 02 June 2015, 21:50:53 UTC
b1a0cf7 QRunnable: declare dtor out-of-line and export class De-duplicates vtables and enables RTTI on this hierarchy. Change-Id: Ia60f4aa446f93ab91ea8780a3acc1118210ba7d5 Reported-by: Volker Krause <volker.krause@kdab.com> Task-number: QTBUG-45582 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 02 June 2015, 21:50:06 UTC
f44a59f Don't assign iterator to const_iterator It should also be possible to use QT_STRICT_ITERATORS in Qt's own code base Change-Id: I0914db480d4d2b06e71e3a2588163efdd3ff6d27 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> 02 June 2015, 19:41:16 UTC
cd0bed6 Polish and stabilize tst_qtooltip. - Implement init() and cleanup() to verify that no top level widgets are leaked. - Position widget in tst_QToolTip::task183679() and set window title. - Remove hardcoded wait in tst_QToolTip::whatsThis() and use a find function within QTRY_VERIFY(). - Rearrange and clean code a bit. Change-Id: I0b1ad88444fc9441c1071a2527f75de1f68ea9e5 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 02 June 2015, 18:51:25 UTC
d0a017e Test QCursor::pos and QWidget::move Change-Id: I0193c76415e41a18087e4c4407b4e441c1472e2e Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 02 June 2015, 15:05:38 UTC
dbe2dd2 Adapt Windows plugin to new HighDPI API. - Implement QPlatformScreen::pixelDensity(). - Map coordinates. Change-Id: Ieaf4e3b0f3969607216d7713c5d6f1e60fa27116 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 02 June 2015, 11:00:55 UTC
7e4fba3 Remove devicePixelRatio handling from xcb Let's do it all cross-platform from now Change-Id: Ie4d6d7bfbd27533dd72cc82bf721df2f92a2f47e Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 02 June 2015, 10:56:36 UTC
f3254c2 Test menu bar menus and submenus Change-Id: I266cb0ed1ec81c5d4aca7feb06dff7136024543d Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 02 June 2015, 10:49:24 UTC
837792f Test drag and drop The dragwidget shows position of drag move events and drop events, to help debugging. Change-Id: Ie7313b74c6c11f527328cab9b851a868c31c4463 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 02 June 2015, 10:31:46 UTC
1499302 Support QT_DEVICE_PIXEL_RATIO For compatibility with Qt 5.5 (and 5.4) Change-Id: I30fe0e493849f116983299f36061d443a522eec3 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com> 02 June 2015, 10:31:17 UTC
a1c0a59 deprecate DEPLOYMENT variable Deprecate the qmake variable DEPLOYMENT that was used for installing files on remote devices for Windows RT and Windows CE Visual Studio projects. Use INSTALLS for both nmake and Visual Studio projects. [ChangeLog][core][qmake] Deprecated the qmake variable DEPLOYMENT in favor of INSTALLS. Task-number: QTBUG-21854 Change-Id: Ia9d2c69feb7d87b0b9dc69ff7c0a68be35a57acd Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 02 June 2015, 09:59:32 UTC
9b0809d Fix crash during autotest execution on Mac OS X Change-Id: Ib9cd6791a7b48a0cde9e6d991b2d7f6fb4020819 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 02 June 2015, 08:02:38 UTC
beef975 Cleanup the mouse event handling in testlib Calling QCursor::setPos() to emulate mouse move events is a rather bad idea, as it creates round trips through the server, leading to timing issues etc. In addition, we should not call qapp->notify(), but rather route the events through the proper QPA interface. This is required to properly generate all other events such as enter/leave etc. As this breaks existing tests, put the new behavior behind an #ifdef for now. Like this, we can fix tests one by one, and then turn on the define by default for 5.6 (with a changelog message). We emulate timestamps to avoid creating double clicks by mistake. In addition, fix QGuiApplication::processMouseEvent to not push events back into the QPA event queue (as this is a bad hack and breaks the new testing system). Change-Id: I71774cb56674d7fb66b9a7cf1e1ada1629536408 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 02 June 2015, 08:02:35 UTC
71fe2df Syntax clean up in qimagescale Corrects a few white-spaces, return statements and else statements to fit Qt coding style. Comment updated to indicate how far the code is getting from its original roots. No semantic changes. Change-Id: Ia2288c501788a291bfc4e8b70e8eb1efb7a90128 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 02 June 2015, 07:46:17 UTC
e5d85ff imageviewer example: support loading images on iOS Use the last path from QSP to hint that we want to load photos from the global photo library. This should currently only make a difference on iOS. Change-Id: I7a6217dbbbc2e247b69bf406c02001458c757211 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> 02 June 2015, 07:46:14 UTC
166c249 Merge remote-tracking branch 'origin/5.5.0' into 5.5 Change-Id: I060b0e10e55487a4a4a101f77ad7c8dc8cf0f553 02 June 2015, 07:44:03 UTC
11512d6 eglfs_kms: Virtual desktop Now we can choose to use separate screens or virtual desktop. With virtual desktop the geometry of all screens is taken into account so that the input plugin do not clamp global pointer coordinates to the first screen anymore, we also create only one hardware cursor that can now freely move on all the screens. Virtual desktop is enabled by default, but the old default behavior can be restored by setting separateScreens to true. Change-Id: I78dbf9e8d3dd44f68d33350dc8fc3727bf8a26fe Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> 02 June 2015, 07:37:51 UTC
f7047d5 Cocoa: add QT_MAC_USE_NSWINDOW env. variable When enabled, all QWindows will be backed by a NSWindow. This is unlike the default where only top-level QWindows get a NSWindow. The QWindow still has (Q)NSView as the NSWindow content view. The return value of the winId functions are still the NSView and is not affected by this switch. Change-Id: I131b89af04c09451a6e7515d1da3f7498f53979a Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> 02 June 2015, 04:44:28 UTC
7bc9310 Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5.0 02 June 2015, 04:20:54 UTC
d83bd9c Introduce qmake RC_DEFINES for RC preprocessor defines qmake win32 generators by default used values of DEFINES for RC preprocessor defines, too. For simple defines this works. For string literals this failed for the .vcxproj files: DEFINES += "FOO=\"BAR BAR\"" works for CL but fails for RC. DEFINES += "FOO=\\\"BAR BAR\\\"" works for RC but fails for CL. This patch introduces the qmake variable RC_DEFINES. The variable contains the preprocessor defines, that are used for RC. If the varible is not set, the DEFINES values are used for RC. Task-number: QTBUG-44184 Change-Id: I4202271759d29de8c1829347ae3ef117eda54b38 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 02 June 2015, 03:37:07 UTC
6b4c1ad Fix wrong method name in QColor documentation The methods are called hslHue and hslSaturation. This was leading to dead links. Change-Id: I0997c415958aae9a66fb037d98f8ad3d43b38231 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> 01 June 2015, 17:57:18 UTC
6e008cd Merge 5.5 into 5.5.0 Change-Id: I27921a25a0fc56afb5429e40fc1e9b4b9a645a9a 01 June 2015, 17:44:29 UTC
fcfd31c Merge remote-tracking branch 'origin/5.4' into 5.5 Conflicts: qmake/generators/mac/pbuilder_pbx.cpp src/corelib/global/qglobal.h Change-Id: I2c0f7544bf194f2d0f59218fd583c822901487b0 01 June 2015, 15:46:58 UTC
6fba3c1 Stabilize tst_qtouchevent. - Use QTRY_COMPARE() in touchBeginWithGraphicsWidget. - Change raw event translation tests to wait for the window to become active to avoid WM positioning issues. - Blacklist the raw event translation tests on Linux. Task-number: QTBUG-46266 Change-Id: I73aae375ee279a518a2a083d0ce8919cce474cb3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> 01 June 2015, 13:39:13 UTC
0e1b4e8 Avoid QWidget dependency in QtGui It's not a real dependency as all we need is to store a pointer, but better not to use the name QWidget at all. Change-Id: I30ef1dd44ac7e42c1b9c84675f94088b8c516076 Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com> 01 June 2015, 13:38:18 UTC
78e3354 Clip QOpenGLWidget and QQuickWidget correctly Introduce support for the widgets' clipRect(). Right now render-to-texture widgets in scroll areas placed close to each other result in broken (non-existent) clipping. Similarly, stack-on-top widgets fail to clip when placed inside a scroll area. This is now corrected and the qopenglwidget example is enhanced to utilize a scroll area. Task-number: QTBUG-45860 Change-Id: I859a63d61a50d64ba9e87244f83c5969dce12337 Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com> 01 June 2015, 13:38:14 UTC
275709f don't process .prl files recursively they are self-contained, as they are the result of another project's full resolution. consequently, recursing them just burns cycles, and additionally introduces the risk of an endless loop if the file is botched. Task-number: QTBUG-12711 Change-Id: I401ee691c170092cc61fe05538cec4272ed8f922 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> 01 June 2015, 13:27:06 UTC
85c12d5 fix incorrect path separators coming from installed .prl files we use qmake properties in the installed .prl files, so the paths need to be converted to native separators before emission. Task-number: QTBUG-46217 Change-Id: If3fb0a84488795478fc2a701271c931c62eba6aa Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> 01 June 2015, 13:27:03 UTC
26f7223 fix installing unix dll symlinks on windows hosts ... by implementing a fake ln in qmake. symlinks are supported only since vista (we officially still support xp), and even there are permission-restricted (MS being (rightfully) afraid of symlink attacks). so we fake the links by copying the files instead. the previous hack was a bit naive, simply using cp/copy instead of ln. this didn't work with relative paths, as real symlinks are resolved against their parent directory, not the working directory of the "ln" command. the new fake does this correctly. Change-Id: Ia2f5d68a39d6ffcc8a4383f9d0fc63a9da0a05c3 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> 01 June 2015, 13:26:57 UTC
88c8a4f usePixelDensity and perScreenActive are different concepts Previously, setting a scale factor on a screen would also turn on pixel density scaling. Scaling everything twice is not twice as good... Change-Id: I617b76a717c8f83089d534604b3596754c42dad4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com> 01 June 2015, 11:21:29 UTC
b970d03 Add interactive mode, and make it the default Change-Id: I8d4ce7f07054616b1e668885a55803d6b8089195 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> 01 June 2015, 11:20:03 UTC
e1b366a QFramePrivate: use direct instead of copy initialization Probably not performance-relevant here, but easier to read and safer, too (consider what happens if frect becomes QRectF). Change-Id: Ia5e4369b550b3a5b899b41ac4cbbda91229f2eb4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> 01 June 2015, 09:20:50 UTC
069be16 Fix statfs usage for BSD4 systems in QStorageInfo According to NETBSD manual pages, there's no statfs structure; statvfs should be used instead, change introduces defines for the stat(v)fs struct/function. Task-number: QTBUG-40785 Change-Id: I98599e4635e46f90ffcc99c768f4c250f09f914f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> 01 June 2015, 09:08:19 UTC
back to top