- 04 May, 2017 - 3 commits
-
-
Oswald Buddenhagen authored
Change-Id: Id3fc911f024cba292a5c426b36aa94ff9f3c0ef7
-
Venugopal Shivashankar authored
Task-number: QTBUG-60245 Change-Id: I068d74d3d1d3ffb872ac6fec830367d67b65049d Reviewed-by:
Topi Reiniö <topi.reinio@qt.io> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@qt.io>
-
Gabriel de Dietrich authored
Many QMenu related functions end up calling sizeHint() which does call updateActionRects(). Since we try not to update the action rects if no action has changed, we must be careful to call it the first time with the right screen geometry. Other- wise, multi-display setups may get the action rects based on the wrong display. In QMenu::popup(), this can be solved by using the position passed as argument. Incidentally, we were already computing the right display geometry in the same function, only a bit later. The updated position around an eventual push button menu should not change the screen onto which the menu popup will be displayed. Tested with the multiscreen-menus manual test. Change-Id: Id7fc24be6908b4a9d24b8b9c8b8006efe45d69be Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
- 03 May, 2017 - 15 commits
-
-
Oswald Buddenhagen authored
We can't depend on QT_HAS_INCLUDE for such an important functionality in QtQml, so detect at configure time. alloca() is not a POSIX function (it apparently first appeared in Version 32V AT&T UNIX), so the actual header that defines it varies from system to system. Clearly, if alloca.h exists, that's the one, so we try it first. On most other systems that don't define it, it's in stdlib.h. The only exception is Windows, where it's actually defined in malloc.h. Task-number: QTBUG-59700 Started-by:
Thiago Macieira <thiago.macieira@intel.com> Change-Id: Icd0e0d4b27cb4e5eb892fffd14b4b2b389a4684e Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Venugopal Shivashankar authored
Only example app that demonstrates the use of Qt for a wearable device. Change-Id: I7656f809b0219e9a2c8cd61985445ecff8b2c174 Reviewed-by:
J-P Nurmi <jpnurmi@qt.io> Reviewed-by:
Mitch Curtis <mitch.curtis@qt.io> Reviewed-by:
Topi Reiniö <topi.reinio@qt.io>
-
Alex Trotsenko authored
Even if a callback type is not automatically re-enabled, callbacks are implicitly enabled when the source has been added to the run loop. In this case, calling CFSocketEnableCallBacks() could produce an extra notification if there is a pending event in the queue. The bug is quite unstable and completely depends on the internal OS delays. So, it can't be tested inside Qt. Task-number: QTBUG-59930 Change-Id: I751b8b8cf99cb86b80055f2214a42a638f01abe4 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
BogDan Vatra authored
The problem was introduced in Qt 5.7. Task-number: QTBUG-60297 Change-Id: I46265b24e104e08fe5b8026e5441514a438582c9 Reviewed-by:
Christian Stromme <christian.stromme@qt.io>
-
Gabriel de Dietrich authored
We have been noticing several menu popup sizing issues in the presence of multiple, heterogenous displays. Most remarkably, we'd often pick the primary display's geometry when computing the menu's size hint. This results in usability issues if the primary display is smaller than the display onto which the menu popup is being displayed. This manual test covers menu bar, context and push button menus. Torn-off menus are also enabled. We turn off the use of native menu bars to cover a few more cases. Change-Id: I29658ebdc56e41aa1bf99d06d96aed6bfb5461b3 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Nico Vertriest authored
qobject.cpp:4288: warning: Can't link to 'Q_ENUM_NS' qobject.cpp:4314: warning: Can't link to 'Q_FLAG_NS' Change-Id: I0fa5a1d4f9b4868a1a98ce6d3b5f6bb9b34c5dd2 Reviewed-by:
Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by:
Topi Reiniö <topi.reinio@qt.io>
-
Topi Reinio authored
This enables a number of functions declared in the qalgorithms.h to be successfully documented. Change-Id: I20c5827bb8f9e2ada98fd368b7827c5b156a518e Reviewed-by:
Martin Smith <martin.smith@qt.io>
-
Marc Mutz authored
It's an iterator, not a const_iterator. Let QDoc figure out the correct one. Change-Id: I7ddd1568adbf811b801c170794465ba14ceed05e Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Palo Kisa authored
Return an empty size if no suitable entry found to avoid mismatch with the returned pixmap()'s size (the QIconEngine::actualSize() returns the originally requested size). Change-Id: Ia278719a54392b62c5f9fc0529476baba5cd7df0 Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Oliver Wolff authored
The same as for other visual studio versions use "x86" as arch instead of win32. arch is used to determine library paths and these use x86 and not win32. As compilerArch is not used in MSVC 2017 it can be removed. Task-number: QTBUG-60530 Change-Id: I47157eb1d7ae9d913461210d34858ffb37c81586 Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Oliver Wolff authored
VS 2017 still uses vclibs version 14/140 and it also strictly requires the vclibs' publisher to be set in the manifest. As we only support VS 2015 and 2017 the condition for adding additional vclib dependency information can be dropped. Change-Id: I813a9ad976339e347fd8d9283d92282e86b2791b Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Alex Trotsenko authored
There were still two cases where spurious notifications would be possible: - user calls hasPendingDatagrams()/pendingDatagramSize() on UDP socket somewhere outside the slot connected to readyRead() signal (::WSARecvFrom posts FD_READ notification, even if a notification for incoming datagram already exists in the message queue); - a socket was registered to receive several types of event and WM_QT_ACTIVATENOTIFIERS message is located between the different events for this socket in the queue. Provided patch ensures that the message queue is synchronized with the Qt event processing mechanism and adds a way to detect spurious notifications inside the window procedure. Task-number: QTBUG-58214 Change-Id: I49609dace601f300de09875ff1653617efabd72f Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Peter Seiderer <ps.report@gmx.net>
-
Stephan Binner authored
Change-Id: I3229fccd2f837b8b8b4da2a149d4584cb4a54dab Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Tasuku Suzuki <tasuku.suzuki@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Eric Lemanissier authored
complements commit c5e68789 added missing noexcept (void)StoredMemberFunctionCall specialization to disambiguate template selection. Without these specializations, StoredFunctorPointerCall was a better match, which led to compilation failure Task-number: QTBUG-58142 Change-Id: Ibd41057d9a497f057a895d73277902e90300ed7a Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Gabriel de Dietrich authored
Change-Id: I30f1c87092447abf1c94e69c0124eeeee43666e2 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
- 02 May, 2017 - 13 commits
-
-
Tor Arne Vestbø authored
Significantly reduces the number of objects left to rot in the root pool, which is only drained on application shutdown. Change-Id: Iad7520ab083715416d95413a63474b9153f22fb5 Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
Tor Arne Vestbø authored
So that any objects autoreleased during application initialization are released. Otherwise they will end up in the root level pool and only be released when the application exits and the application goes out of scope. Change-Id: If02d24fd70098f9b4b1b0ea3218e0a15e438b9db Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
Simon Hausmann authored
Use the new qmake install command to copy files around, in order to avoid the '+' trap of the Windows copy command. Task-number: QTBUG-60214 Change-Id: I7f588dbbfcdd89b7e98dbef7757944ca856815aa Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Allan Sandfeld Jensen authored
Otherwise dashed polygons will not be closed when stroked like they are documented to be. Task-number: QTBUG-60397 Change-Id: I58e9e3a06af157f9a2789ccab640c9da75867962 Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
Friedemann Kleint authored
Fixes MSVC warning: src/widgets/dialogs/qfiledialog_p.h(412): warning C4273: 'QFileDialogPrivate::selectedMimeTypeFilter_sys': inconsistent dll linkage while building tst_qfiledialog2. Amends change 34f82b8a . Change-Id: I7306535000af73ee3a027b14a2d5cfce4f889e85 Reviewed-by:
Marc Mutz <marc.mutz@kdab.com>
-
Kai Koehne authored
Fix indentation of code (introduced in 14efcaa3 ) Change-Id: Iee9bc7c66dbde4088168497e9428940554612e84 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Olivier JG authored
When handling WM_NCCALCSIZE in a global filter, the associated platform window needs to be assigned to platformWindowPtr so that its frame margins can be updated on return. See also 3035400f , which introduced the platformWindowPtr out parameter for this purpose. [ChangeLog][Platform Specific Changes][Windows] Fixed frameMargins for WM_NCCALCSIZE when handled inside with QAbstractNativeEventFilter. Change-Id: I7827b81d30a5c80dad591206a88712169dea0108 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Allan Sandfeld Jensen authored
Cleans up the rgb32 text-blending functions, so they now follow the new pattern used in the new generic text-blending functions. This also means they can now handle gamma-corrected blending on top of transparent destination pixels instead of falling back to naive blending. Task-number: QTBUG-60469 Change-Id: I154ba513ff99c0cefab8fa12f4ed43fcd6563a6a Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
Simon Hausmann authored
Amend commit e6bf2376 to correctly cache the abi in config.cache and set QT_BUILDABI to the correct target ABI when cross-compiling. Task-number: QTBUG-60441 Change-Id: I4ebfce9d6266be2a3225034fbf3aff08e7fdc5d5 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Simon Hausmann authored
Similar to the two parent commits, this patchs preserves the time stamps of files we install as a result of recursive directory copying. Change-Id: Id5931a467196d5cd67acfa0deffc2488af8a3669 Task-number: QTBUG-59004 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Andy Shaw authored
When the tabbar styling was improved in change 175f33ed it changed PM_TabBarBaseHeight to 21 which is incorrect as this value represents the spacing between the tab pages and the tabbar. In macOS style there is no space so this should be set to 0. Task-number: QTBUG-60307 Change-Id: I2ce39ff2fc924d2d83843fab78b311153b4ee08f Reviewed-by:
Oleg Yadrov <oleg.yadrov@qt.io> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-
Alex Trotsenko authored
If the user calls QLocalSocket::setReadBufferSize() with a value less than the current size of the pipe buffer, startAsyncRead() would call ReadFileEx() with invalid parameters: ReadFileEx(handle, nullptr, some_big_value, ...); Change-Id: I3d153e3ec34f8038dc001c1c896aeceb666a8979 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Gabriel de Dietrich authored
In some cases, we'd want such value to come from the platform theme, but we'd need new API for this. Change-Id: Ic7053fa17ac8b2f207db031095c4e4aefae000c2 Reviewed-by:
Jake Petroules <jake.petroules@qt.io>
-
- 30 Apr, 2017 - 5 commits
-
-
Marc Mutz authored
... use std::less<> to avoid undefined behavior. Change-Id: Ib6736f86359c4a16fd90ca63b57a8517c6137ead Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by:
Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
-
Edward Welbourne authored
Change-Id: Ic320c96208fe7f8340c7eb9e9d068813d769056a Reviewed-by:
Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Tasuku Suzuki authored
Change-Id: Ia56d5d7266a379f911e4db61e60b8b39af5b6342 Reviewed-by:
Stephan Binner <stephan.binner@basyskom.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Tasuku Suzuki authored
Change-Id: I1e62e3772dbd5f17d9ad69025b23e3726386c2bd Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Stephan Binner <stephan.binner@basyskom.com> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Tasuku Suzuki authored
Change-Id: I1b49a9f63a6a071457a3b9305dc87abe5f3b5b19 Reviewed-by:
Stephan Binner <stephan.binner@basyskom.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- 29 Apr, 2017 - 3 commits
-
-
Allan Sandfeld Jensen authored
Adds default off configure flag to use compiler optimizations for size instead of the default speed/size trade-off. Change-Id: I36702064ef2cc743d2d03a386adf5cefd5371b6e Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Friedemann Kleint authored
Change the check for the unambiguous match to be case insensitive. Task-number: QTBUG-60466 Change-Id: Iaa019cc803a56b015f45309fb1b3a7a8a3d82ee4 Reviewed-by:
Simon Hausmann <simon.hausmann@qt.io>
-
Thiago Macieira authored
Change-Id: I84e363d735b443cb9beefffd14b8bd4b39b00840 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
- 28 Apr, 2017 - 1 commit
-
-
Jesus Fernandez authored
If vaoHelper is not valid the vao variable was being initializated with a random value. Change-Id: I44962841baeb1a1cff3124d6126e19c791feaea3 Coverity-Id: 171484 Reviewed-by:
Laszlo Agocs <laszlo.agocs@qt.io>
-