- Sep 27, 2016
-
-
Paul Olav Tvete authored
To make NVidia EGLStreams work on the desktop, we need to use eglGetPlatformDisplayEXT instead of eglGetDisplay. Therefore, let's try that first if we have the extension. Change-Id: Id420fb46d5bc5345faa5cbb066584b0859d50417 Reviewed-by:Laszlo Agocs <laszlo.agocs@qt.io>
-
- Sep 26, 2016
-
-
Kai Koehne authored
Change-Id: I8f324e23909232ee80a8d123fba35f5a6fecfaac Reviewed-by:Topi Reiniö <topi.reinio@theqtcompany.com>
-
- Sep 25, 2016
-
-
Sérgio Martins authored
Change-Id: If9901471e459acb374807649e0affb84d82f7b8b Reviewed-by:
David Faure <david.faure@kdab.com> Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Lars Knoll authored
Change-Id: I1b26c4b3ca84e0bb8001ca24ef46bd24926a0f82 Reviewed-by:Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- Sep 23, 2016
-
-
Allan Sandfeld Jensen authored
Unify generic and ARGB32PM versions for fetchTransformed, the main benefit of the specialized version is the simplified fetch, but we can also get that by ensuring the method can be inlined. At the same time move runtime inline of fetchPixel in fetchTransformedBilinear to compile time using a similar model. Change-Id: I0c1ed2ea4d4a3fb1b6dd3973823c0925101ed18e Reviewed-by:Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Marc Mutz authored
Change-Id: If36f9f3c60ee5cea3082a973a4b8ea9d2de1b62f Reviewed-by:Edward Welbourne <edward.welbourne@qt.io>
-
Maurice Kalinowski authored
There is no need to switch to the current directory, when there is no process support. This also fixes running the test on sandboxed target platforms. Change-Id: I25fabb8b22d3510062a012884eb1eaab682901d3 Reviewed-by:Oliver Wolff <oliver.wolff@qt.io>
-
Eskil Abrahamsen Blomfeldt authored
The stretch, once it is passed to the font engine, is assumed to be the horizontal scale needed to match the requested stretch for the given font. When loading from data in QRawFont, there is no way to specify this stretch; the scale should always be 1. The effect of this was that when DirectWrite was backing a font loaded through QRawFont directly from data, then the glyph images would be scaled to 0xHEIGHT before they were returned, thus they would be empty. This was a regression caused by ec7fee96 . Task-number: QTBUG-56091 Change-Id: I38e76e0e8f6809262474922946752b2ad0d6209b Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Maurice Kalinowski authored
Only on win32 we can omit creating a new window. Change-Id: Ie49ef45ccb745aaa43f58096e7810c71671124ba Reviewed-by:Oliver Wolff <oliver.wolff@qt.io>
-
Marc Mutz authored
The inefficiency of QColor(const char*) came to light by a recent refactoring which showed that the existing char* overload of qt_get_hex_rgb() was never called. So, provide a QLatin1String interface for named colors that allows user code to reach that internal function without converting to QString first. Change-Id: I74df7b570ef28c00e35ca4adf46c4b7c7e9994b3 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Anton Kudryavtsev <a.kudryavtsev@netris.ru>
-
Marc Mutz authored
... at least for compilers that support defaulting functions. The class is polymorphic, but shouldn't, so add a note to remove the vtable in Qt 6. Change-Id: I93e4402004b7c52ba506946220e214dd6990f1f7 Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- Sep 22, 2016
-
-
Marc Mutz authored
Only qt_get_hex_rgb(const char*, QRgb*) is used outside qcolor.cpp (in qxpmhandler.cpp), so remove all other function declarations from qcolor_p.h, and make the functions file-static in qcolor.cpp, removing their qt_ prefix to avoid confusion. Exception: it turned out that qt_get_named_rgb(const char *, QRgb*) wasn't actually used anywhere, but a follow-up commit will fix this. Adjust interface to that of the QChar overload (add explicit int len). Simplify conditional compilation of QT_NO_COLORNAMES: move the ifdef inside get_colornames, to avoid duplicating the declaration, and remove the empty implementation of get_named_rgb, since their use is already conditional on QT_NO_COLORNAMES not being defined. Change-Id: Iaf685dfbea0b9d3bd010448dac0e95be7b097ce5 Reviewed-by:Edward Welbourne <edward.welbourne@qt.io>
-
Mark Brand authored
Although configuration seemed to work and the configure summary indicated that the system sqlite library was being used, qtsql was actually still built from bundled sqlite sources. The problem was that system-sqlite was not reaching the context of sqlite.pro. Change-Id: I24676a19f0fc895111844cd0fe6c7e80f33574de Reviewed-by:Lars Knoll <lars.knoll@qt.io>
-
Morten Johan Sørvig authored
This is not the time to update and the window is repainted on expose anyway. Change-Id: I07680a2c351d337e2f35a18b804a03631d5cedc5 Reviewed-by:
Jake Petroules <jake.petroules@qt.io> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-
Morten Johan Sørvig authored
drawRect is a general “repaint now” function, which we should handle also for OpenGL content. Make that clearer by moving the implementation details of drawing the raster backing store using CoreGraphics to a separate function. Behavior change: Call invalidateWindowShadowIfNeeded also for the OpenGL case. Change-Id: I158ebef548e063f826db2dc708c14ab1d784b095 Reviewed-by:Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-
Tor Arne Vestbø authored
Change-Id: Ib8d0c42db7343247d0431ea008eb17da9ee98f4d Reviewed-by:Laszlo Agocs <laszlo.agocs@qt.io>
-
Tor Arne Vestbø authored
The former is easy to mistake for the isExposed state of the event. Change-Id: Ic769ac332901ac97449ebc8dcca5959b6b42df68 Reviewed-by:Paul Olav Tvete <paul.tvete@qt.io>
-
Oleksandr Tymoshenko authored
Fixed double delete of QBsdFbScreen in destructor, first it was deleted in destroyScreen, then as a smart pointer. Take ownership of pointer before passing it to destroyScreen to avoid second delete. Change-Id: I252fcd1f31a32b463ecefce5b7139c4b3c857d33 Reviewed-by:Laszlo Agocs <laszlo.agocs@qt.io>
-
Laszlo Agocs authored
To avoid build system warnings about including _p headers. There is no real reason to have this as a .h header anymore, now that it is in the device integration private module. Change-Id: I16526419356284e66861f95d1d0553abf0711218 Reviewed-by:
Ulf Hermann <ulf.hermann@qt.io> Reviewed-by:
Giulio Camuffo <giulio.camuffo@kdab.com> Reviewed-by:
Andy Nichols <andy.nichols@qt.io>
-
Laszlo Agocs authored
Move platform integration, context and offscreensurface to under 'api'. This allows accessing these from out-of-tree eglfs backends as well. For instance, the upcoming eglfs_emu backend for the Qt Simulator may need access to QEglFSIntegration. Clean up the project files and remove out-of-date comments (the private module QtEglFSDeviceIntegration is not really header-less since 5.7). Change-Id: If96dd5780a6bd33a1cf29164364df9bf921c4d01 Reviewed-by:Andy Nichols <andy.nichols@qt.io>
-
Laszlo Agocs authored
Just setting virtualDesktopLayout and virtualIndex are not always enough. To create more complex shapes (e.g. a T-shaped cluster) the top-left position has to be specified explicitly. Enable this via an optional virtualPos property. This also involves improving evdevtouch's mapping functionality. Instead of fragile indices, rely on the screen name instead. Change-Id: I138840779032ad9da674bfef7763adfdfc74ccd4 Reviewed-by:Andy Nichols <andy.nichols@qt.io>
-
Eskil Abrahamsen Blomfeldt authored
When resolving the filenames of fonts, we would first match against the font face name, meaning that an italic font, for instance would always be matched to the file of the regular font in the same face. To fix this, we look up the full name in the file name cache first, before the face name. Also, since the font names in the registry are the English names, but the names we get when enumerating the fonts on the system can be localized on non-English locales, we need to translate the full name of the font before we give up on matching it against the registry. Since this can be a heavy operation, we add a cut-off which skips resolving the English name when the style is one of the most common "Italic" or "Bold" since we know these to be English. [ChangeLog][QtGui][Windows] Fix selecting non-regular fonts when using the Freetype engine. Task-number: QTBUG-47485 Change-Id: If897abb93dc93263902b1c62bc3f66c4d06721c2 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Eskil Abrahamsen Blomfeldt authored
When the font in question is a color font, we should call the appropriate function bitmapForGlyph() and return the color bitmap from the font, rather than the alpha map in QRawFont::alphaMapForGlyph(). Change-Id: I2c3cd66db5a93ddf0cc463f4d136dd6771b9734c Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> Reviewed-by:
Konstantin Ritt <ritt.ks@gmail.com>
-
Maurice Kalinowski authored
Change-Id: I13db11320598a884ed817b4ce6f7ffefae91452e Reviewed-by:Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Maurice Kalinowski authored
With the removal of Windows CE support(52623d6d ) the logic of these checks have changed, as it was always true for non Windows CE builds before. This did not affect WinRT, as those mkspecs define VCPROJ_ARCH explicitly in their qmake.conf. Task-number: QTBUG-55753 Change-Id: Ie2eddf197c17fcbf7343b444cfe8940a332a545c Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Liang Qi authored
Conflicts: src/plugins/platforms/ios/qiosviewcontroller.mm Change-Id: I2dda31867cbc79ea7fe965f52afb518aefa4ad20
-
- Sep 21, 2016
-
-
Liang Qi authored
5971b88e is not needed in new configure. This merge also reverts "fix QMAKE_DEFAULT_*DIRS resolution with apple SDK", 2c9d15d7, because it breaks iOS build with new configure system. Conflicts: mkspecs/features/default_pre.prf mkspecs/features/mac/toolchain.prf mkspecs/features/toolchain.prf src/dbus/qdbusconnection.cpp src/plugins/sqldrivers/mysql/qsql_mysql.cpp src/sql/drivers/mysql/qsql_mysql.cpp src/widgets/widgets/qmenubar.cpp src/widgets/widgets/qmenubar_p.h tools/configure/configureapp.cpp tools/configure/environment.cpp tools/configure/environment.h Change-Id: I995533dd334211ebd25912db05b639d6f908aaec
-
Liang Qi authored
Change-Id: I9cfefaf22b010fca937be77979f5fb50574bb71e
-
Takumi ASAKI authored
Change-Id: I4e39c971198583af815f5bcecaad4a9c52e5d2dd Reviewed-by:Lorn Potter <lorn.potter@canonical.com>
-
- Sep 20, 2016
-
-
Allan Sandfeld Jensen authored
If the destination format is 32bit, we can convert directly in the destination instead of in a buffer. Change-Id: I2b4407da77b863deec7869c341e1a8d464b46600 Reviewed-by:Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Samuel Gaist authored
This patch adds a sample native event filter that can be easily integrated in a project. Task-number: QTBUG-53209 Change-Id: Iedf6df33a3de5b01dc7871cca5e7897a5b485733 Reviewed-by:Topi Reiniö <topi.reinio@theqtcompany.com>
-
Samuel Gaist authored
Change-Id: Ia9b3eb21a178da4ae2844dba37b7e1cc669d6b50 Reviewed-by:Simon Hausmann <simon.hausmann@qt.io>
-
Nico Vertriest authored
Change-Id: I734943820400384a2f9ac7e148dc42d3428b0732 Reviewed-by:
Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by:
Jake Petroules <jake.petroules@qt.io>
-
Allan Sandfeld Jensen authored
Collapse the tables that are mostly identical, to much shorter tables and a simple functions to make it easier to read and maintain. Change-Id: I44fdaebe9927b49a94385057756d9d87ad3c33f5 Reviewed-by:Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Alex Blasche authored
Only return activity object when available and *not* when unavailable. Task-number: QTBUG-55035 Task-number: QTBUG-50759 Change-Id: I60b1be528b2e4a3d630f4085b7642d74e18482bd Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by:
BogDan Vatra <bogdan@kdab.com>
-
Jake Petroules authored
Change-Id: I682fabe8891e0325e6545b4499a59af4ad584c41 Reviewed-by:
Mike Krus <mike.krus@kdab.com> Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-
- Sep 19, 2016
-
-
Richard Moe Gustavsen authored
It should be possible to show a menu by calling showPopup, even if visible is set to false. After all, it's only logical that visibility is false before showing it. And whether or not the menu is enabled should not matter as well. Change-Id: I9a2b453c8c6e88c47812c652d99e4b4a9c7524a7 Reviewed-by:Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-
Richard Moe Gustavsen authored
The synthesized properties were defined as (read only) methods in the UIViewController API in iOS9, and we extended them into readwrite properties in our own sub class to enable some local bookkeeping in addition to normal overriding. But in iOS10, Apple has changed the methods into being readonly properties instead. The difference then is that automatic property synthesizing will ignore our local readwrite declarations, and use the declarations in the super class instead. And this will lead to a runtime crash on iOS10 since no setter methods are generated. This patch will instead explicit synthesize the affected properties to ensure that both getters and setters will be generated. Change-Id: Iac330e991b8a0fe335e383e1f7d9ff30c0ce1559 Reviewed-by:Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-
Richard Moe Gustavsen authored
In the iOS 10 SDK, method signatures has been annotated with NS_ASSUME_NONNULL macros and 'nullable' keywords. This means that certain methods should not be called with argumens that can be null, or in this case, set to 0 explicitly. The result will be compiler warnings. This patch will rewrite the explicit call we do to touchesCancelled so that we send an empty set instead of 0. Change-Id: I50aa80b91312397d17e0e380815adff87cee852b Reviewed-by:Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-
Frederik Schwarzer authored
Change-Id: Ib3371549ecb80da326260b1df431f20e7a04f07e Reviewed-by:Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
-