- 25 Jul, 2018 1 commit
-
-
Andrew den Exter authored
-
- 14 Jun, 2018 1 commit
-
-
Andrew den Exter authored
-
- 05 Jun, 2018 19 commits
-
-
Andrew den Exter authored
Ensure full focus out and in are processed when transferring focus to the parent window, otherwise the focusObjectChanged() signal of the window whose window was destroyed will remain connected to QGuiApplicationPrivate::_q_setFocusObject() and that can result in an object not belonging to the active window (assuming there is one) getting focus.
-
Andrew den Exter authored
-
Raine Makelainen authored
Previous if request scan failed, update was treated as completed. Align with that behaviour and treat also missing connman interface as completed update.
-
Raine Makelainen authored
-
Raine Makelainen authored
This fixes a QNetworkConfigurationManager issue when/if QNetworkConfigurationManager has been instantiated before connman has been stared. Now QNetworkConfigurationManager updates its network configuration state once connman service is registered to the system bus. Also restarting connman is now handled. Signed-off-by:
Raine Makelainen <raine.makelainen@jolla.com>
-
Slava Monich authored
The new owner may already be in the watchedServices table by the time we start processing postponed NameOwnerChanged signals. This is perfectly normal.
-
sletta authored
'lastPoints' is used outside the mutex locked section, so it naturally cannot be a const &. QVector copy-on-write will now make this access safe across receiver and delivery thread.
-
Giulio Camuffo authored
This patch introduces the QT_QPA_EGLFS_SCALE environment variable. When set to an integer number > 1 it will scale the draws window content down by that scale factor. This is only needed for the Sailfish SDK emulator, for now and i'm not sure this belongs upstream. (cherry picked from commit 0061edc2)
-
Raine Makelainen authored
[mer][qtnetwork] Create new QNetworkSession from the new online QNetworkConfiguration. Fixes JB#34613 When network configuration configuration changes, use the QNetworkConfiguration argument within the slot as the QNetworkConfigurationManager::defaultConfiguration() points to the previous default configuration. Default configration in turn is wrong e.g. when turning WLAN on so that cellular is already enabled. This happens because the Qt Connman Bearer plugin finds the cellular AP from the access point list. Further, do not close QNetworkSession when changing from WLAN to cellular as the network session created for WLAN should be kept alive.
-
Slava Monich authored
Particularly, it handles the following scenario: 1. Session state changes from Connected to Connecting (that could be another bug but why not?) 2. _q_networkSessionStateChanged switches online to false 3. Session state changes to Disconnected, online is already false 4. online state stays false even though another configuration gets connected. With this change, when one session becomes Disconnected, a new session is created and online state becomes true as it should.
-
sletta authored
-
Alexandr Akulich authored
The Tatar locale data is taken from the recent CLDR tag (v30.0.2), but all other locales kept in the same version (v27). The language data is inserted in between, so it moves a lot of other locale data, which increases the diff. Before the commit I verified, that generation without Tatar locale files results in no other changes, than generation timestamp in a comment. Steps to update the data with Tatar locale support: 1. Find out the used CLRD version. The current version is v27. (grep "Common Locale Data Repository" src/corelib/tools/qlocale_data_p.h) 2. Download the same version at http://cldr.unicode.org/index/downloads (file core.zip) 3. Extract the data to a directory, e.g. ~/cldr-27 4. Generate XML data. Probably it would be more convenient to it in the "qtbase" directory: util/local_database/cldr2qlocalexml.py ~/cldr-27/common/main > locales.xml 5. At the same directory: util/local_database/qlocalexml2cpp.py locales.xml `pwd` 6. Ensure that there is no changes in code (changes in comments are OK). 7. Choose the needed version for Tatar locale. "trunk" seems to be reasonable version at this moment. http://cldr.unicode.org/index/downloads/ 8. Download the locale files from seed/main (currently) or common/main (once the locale will be finished) to the main CLDR directory (~/cldr-27/common/main). E.g.: wget http://www.unicode.org/repos/cldr/trunk/seed/main/{tt,tt_RU}.xml; mv tt*xml ~/cldr-27/common/main; 9. Repeat steps 4 and 5. 10. Check that the changes are applied (git diff shows difference in src/corelib/tools/qlocale_data_p.h) 11. Done. Optionally: make a commit.
-
martinjones authored
-
Slava Monich authored
-
Slava Monich authored
-
sletta authored
Change-Id: I7f0d3bcc86d319eb242bd9cb30b2eb54f0696aa4
-
Pekka Vuorela authored
Originally introduced to mer-packages/qtbase with 62ba0852
-
Robin Burchell authored
[MER]: This patch is not upstreamed as libsystrace is not widely in use, the impact of additional function calls into QtBase was undesired, and the general approach is not really generic to other types of tracing at this time. libsystrace is a very small initialized-on-load wrapper for Android systrace functionality, used so that data is written in order, regardless of how many different libraries are writing data to it at a given time. systrace is very useful for tracking system behavior, and for performance analysis and improvement. See also: https://developer.android.com/tools/debugging/systrace.html Some example uses of QSystraceEvent are also included in this patch. More are undoubtedly possible. Additional tracing (e.g. counting the number of ongoing HTTP requests and various other bits and pieces) are also easily accomplished. Change-Id: I70012f6ddaa084f5b08685ee40795d7fafcd9c96 Conflicts: configure src/corelib/global/global.pri src/dbus/qdbusintegrator.cpp
-
martinjones authored
-
- 04 Apr, 2018 1 commit
-
-
Antti Kokko authored
Change-Id: I6de04b86f01467c326bf3194fe0bf432d1ee9f9b Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 20 Mar, 2018 2 commits
-
-
Kaffeine authored
Change-Id: I575d348915a7239a40b589012b4e9707bd15d1dd Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> (cherry picked from commit 53f82185e9320e0561d5a424d7145aadc18cca30) Reviewed-by:
Yulong Bai <yulong.bai@qt.io>
-
Laszlo Agocs authored
This reverts commit 7257862f. It has been reported that this patch causes widgets with certain effects become invisible. Task-number: QTBUG-60231 Task-number: QTBUG-66803 Task-number: QTBUG-66387 Change-Id: I9c3c4cf2f17ac639d1aee5489b665aa1e165af16 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 00304eac7b1ddd22b971da78aa84c86fe2919359) Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
- 14 Mar, 2018 1 commit
-
-
Oswald Buddenhagen authored
Change-Id: I327bacd544f874da37c4e0740af0c7854d74a913
-
- 12 Mar, 2018 1 commit
-
-
Sergio Martins authored
If buddy is deleted then QLabel will still try to deliver the shortcut event to it, in QLabel::event(), and crash. For this cherry-pick removed all nice-to-haves and only fixed dereferencing the null pointer. Task-Id: QTBUG-66841 Change-Id: Ib6a36a9f99cee31afe1f88eb77f5b6cafb8b1086 Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> (cherry picked from commit c082d84d5d7fdbfb64de18f06a8ddbc77f2e6de4) Reviewed-by:
Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com> Reviewed-by:
Milian Wolff <milian.wolff@kdab.com>
-
- 09 Mar, 2018 1 commit
-
-
David Faure authored
This happens because QTreeView disconnects QHeaderView's _q_layoutChanged slot (!). So the stretching of the last section, done in _q_layoutAboutToBeChanged, invalidated total length, but didn't recalculate it (since that's done in _q_layoutChanged). As a result, length was inconsistent, and saveState would save that, and restoreState() would early-return, not doing anything. Let's just ensure length is always consistent, so we don't depend on the complex issue of whether _q_layoutChanged should be called or not. This an adapted backport of 4a04eea4f4 from 5.11, the unittest shows that c0e45ae851 is missing in this branch though. Change-Id: I4137a19e0a6fdf820dd53fb55e858d1d04a2c113 Reviewed-by:
Thorbjørn Lund Martsum <tmartsum@gmail.com>
-
- 05 Mar, 2018 1 commit
-
-
Liang Qi authored
Task-number: QTBUG-66756 Reviewed-by:
Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit a0db55040d21d17b1bba2ab406cb51c0f3a671aa) Change-Id: I4e49d610aad1a6a668035916c3879130d7a2d7df Reviewed-by:
Liang Qi <liang.qi@qt.io>
-
- 02 Mar, 2018 2 commits
-
-
Thorbjørn Lund Martsum authored
Before there was a risk looking up e.g index -1 if there were no visible sections in layoutAboutToChange. Change-Id: Ic911e4292e8e8c4892fef1c0f34cf7dccaad2bac Task-number: QTBUG-65478 Reviewed-by:
David Faure <david.faure@kdab.com> (cherry picked from commit e8425f9e52c9df0ce0fbf122adff3ef6930f9961)
-
Kari Oikarinen authored
Multiple recent failures on Windows 10. Task-number: QTBUG-66798 Task-number: QTBUG-66216 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@qt.io> (cherry picked from commit fdddb3a4814f588e3ee87a6c1a0a6791f6ef0298) Change-Id: I774d1196eec8e4befbab87d03c43b5378bf4859d Reviewed-by:
Liang Qi <liang.qi@qt.io>
-
- 01 Mar, 2018 1 commit
-
-
Ulf Hermann authored
Exclude QHttp(Multi)Part from being built if http is disabled, and replace the exclusion macros. Use the qmake project files to exclude source files, and QT_REQUIRE_CONFIG(http) in headers. Task-number: QTBUG-66606 Change-Id: I432fa3c78aa97b5ed2eb1027ac1dc3bdb134f9ba Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> (cherry picked from commit 1a0b4b9f26e16532cc3d5532e25d886426ce994e) Reviewed-by:
Qt CI Bot <qt_ci_bot@qt-project.org>
-
- 28 Feb, 2018 1 commit
-
-
Pasi Petäjäjärvi authored
Configuring Qt with -no-feature-ftp cause build to fail. Task-number: QTBUG-66624 Change-Id: I47f1cdc400702d0211a9f620c8606983f08fa70c Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> (cherry picked from commit 02eb264aa2db20fac479a749c39044cc9ed304b2)
-
- 27 Feb, 2018 2 commits
-
-
Alexander Shevchenko authored
with 40e87491 merged, 'QMAKE_CXXFLAGS' variable in 'win32-g++' toolchain became defined via 'QMAKE_CFLAGS'. the similar can be found in 'win32-clang-msvc' and 'win32-icc' toolchains too. this works for now, because such definitions just duplicates code from includes, like 'gcc-base.conf', 'msvc-desktop.conf', etc. but it would became broken, if changes would be applied to 'QMAKE_CXXFLAGS' definitions in that includes, prior to the redefinitions in 'win32-*/qmake.conf' toolchains. thus 'QMAKE_CXXFLAGS' definitions in 'win32-*/qmake.conf' toolchains should not depend on 'QMAKE_CFLAGS' and be done explicitly. in order to apply this change correctly to 'win32-icc' toolchain, its 'QMAKE_CFLAGS' variable should become dependent on definitions in the includes, similar to 'win32-clang-msvc' and 'win32-msvc' toolchains. Change-Id: I5e820e44a769a590ba63f70dcb3a115311093311 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> (cherry picked from commit 7ff3032b22cacd38390d164cb2c1a232c1979bab)
-
Jani Heikkinen authored
Task-number: QTBUG-65810 Change-Id: Ib6f87a126f64c2e4b2e924b97af4c2b2d10dd29e Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 89053e224f296a19c107ea7925539d5125dac5c0)
-
- 26 Feb, 2018 2 commits
-
-
Kai Koehne authored
[ChangeLog][Third-Party Code] Clarified use of "Unicode Common Local Data Repository (CLDR)" in the documentation. Also updated SPDX license name / ID. Reviewed-by:
Lars Knoll <lars.knoll@qt.io> (cherry picked from commit f93d732dd17e35757d8ba554dfbecc0d4dd89e25) Change-Id: I0aabf005fca351981d8092efa4344efa33b4a3c6
-
Kai Koehne authored
[ChangeLog][Third-Party Code] Documented use of "Unicode Character Database (UCD)" in Qt Core. Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 2442328393c516406d19c5fdc4065daa90b78369) Change-Id: I1bb12b9bf9a3ddfc105146291b29cec305ebe3a2 Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- 22 Feb, 2018 4 commits
-
-
Alexander Volkov authored
contains() interprets the regexp as being implicitly anchored, so the leading part of the path needs to be explicitly matched. Change-Id: I1efa07dc99bb2db1717d2a66621899e23c144164 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> (cherry picked from commit 22d3eeebb0a011a61104de2eb635a3ecf26b58e2)
-
Christian Ehrlicher authored
Do not clear the settings of QHeaderView during layoutChange when the model is empty and the section count did not change. This will not work when a section is moved or a section is replaced with a new one during layoutChange. But since layoutChanged is also called on sorting, this patch ensures that the settings are not cleared in this case. This restores the behavior to the same as before 5.9.4. Task-number: QTBUG-66444 Task-number: QTBUG-65478 Change-Id: I39989cfd45b42e58f49d18ec014d3a941cadb6c9 Reviewed-by:
Thorbjørn Lund Martsum <tmartsum@gmail.com> (cherry picked from commit 9395f35cb18725995910531ca8b09f1d84efa96c)
-
Christian Ehrlicher authored
During (re)storing the sections within layoutChanged handling, the hidden section size was not properly stored which lead to a section size of 0 when the section was unhided afterwards. Task-number: QTBUG-66413 Task-number: QTBUG-65478 Change-Id: I0b714c7e0530a1eae82b3bb0e0dc80ed576522d0 Reviewed-by:
Thorbjørn Lund Martsum <tmartsum@gmail.com> (cherry picked from commit c0e45ae851c96dfebdebfd1e85b7b7eee6540bd1)
-
Antonio Larrosa authored
QOpenGLProgramBinaryCache::setProgramBinary() should check GL_LINK_STATUS after glProgramBinary(), but doesn't. In practice, this means that SDDM is a white screen, and KDE is just a gray task bar. So far, Qt tries to check this using its internal ::link() function. But in case the cached binary fails to load, Qt currently attempts to link the inexistent program, resulting in a zero-length, fixed pipeline shader. Checking this already in ::setProgramBinary() makes the call to ::link() superfluous, so we remove that as well. Done-with: Max Staudt <mstaudt@suse.com> Done-with: Michal Srb <msrb@suse.com> Done-with: Fabian Vogt <fvogt@suse.de> Task-number: QTBUG-66420 Change-Id: Iabb51d0eb2c0c16bde696efff623e57d15f28d82 Reviewed-by:
Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit fa091640134b3ff99a9eb92df8286d15203122bf)
-