- 26 Oct, 2017 - 1 commit
-
-
Timur Pocheptsov authored
1. Recently we have updated our receive window size to a larger value. Unfortunately, this also results in auto-test pumping through more data, which probably takes more time on CI. At the moment we do not have any public API on QNAM's level to customize HTTP/2 parameters (aka 5.10/FF and so on). So we use the fact that QNAM is QObject and we can set a property on it. This property is our Http2::ProtocolParameters object that allows us to configure: - HPACK parameters (in 5.10 - noop) - session receive window size - different SETTINGS as described by RFC 7540, 6.5.2. 2. Undocumented environment variable to set ENABLE_PUSH is not needed anymore. 3. In 5.11 Http2::ProtocolParameter will become a public API and we'll introduce a new setter in QNAM. Change-Id: If08fd5e09e7c0b61cf9700b426b60b5837b6b2e6 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
- 23 Oct, 2017 - 6 commits
-
-
Timur Pocheptsov authored
Found by clazy-range-loop. Change-Id: If43e8d127697f768dc7b1871dc9fef9dcc57ad54 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Alexander Volkov authored
They are not updated after switching tabs. Thus they can be enabled even when no entry is selected: select an entry on the current tab and then switch to an empty tab. Emit AddressWidget::selectionChanged() signal after changing the current tab to update these actions. Change-Id: I00da15ed6c3d3839210ae3ffbe1436e234695522 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Thiago Macieira authored
"global/qrandom.cpp", line 155: error #2000-D: attribute "destructor" is not implemented and will be ignored Task-number: QTBUG-63948 Change-Id: Icaa86fc7b54d4b368c0efffd14efa35381d4e797 Reviewed-by:
Liang Qi <liang.qi@qt.io> Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Liang Qi authored
-
Alexandru Croitor authored
Change-Id: Id56cea1f09d7675fe60cdbd598e6f585a6b230d1 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Liang Qi authored
Conflicts: src/plugins/platforms/direct2d/direct2d.pro src/plugins/platforms/ios/qiosclipboard.mm src/plugins/platforms/windows/windows.pro Change-Id: Idffa03b3990bd642784f528821c5446b2e1008ef
-
- 21 Oct, 2017 - 2 commits
-
-
Sami Nurmenniemi authored
Task-number: QTBUG-60263 Change-Id: I05978915b5bb7ae31069e8e9ae1dc273e483ddb0 Reviewed-by:
Tony Sarajärvi <tony.sarajarvi@qt.io>
-
Dmitry Shachnev authored
The QTextCharFormat documentation said that the used style is based on QStyle::SH_SpellCheckUnderlineStyle style hint, however in fact the implementation (drawTextItemDecoration in qpainter.cpp) uses themeHint(QPlatformTheme::SpellCheckUnderlineStyle) instead since Qt 5 (see commit 1f9ae504 ). Make the documentation match that behavior, and update QPlatformTheme to use the correct default value. Also, switch Cocoa theme to use DotLine, as that is what native macOS applications use. Change-Id: I2a6bb3da6c7b0686dca87ed2c251b6abc006123c Task-number: QTBUG-50499 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@qt.io>
-
- 20 Oct, 2017 - 8 commits
-
-
Thiago Macieira authored
The previous version was good, just not optimal. Because the input was an unsigned 64-bit number, compilers needed to generate extra code to deal with HW instructions that only convert 64-bit signed input. And that was useless because a double uniformly distributed from 0 to 1 can only have 53 bits of randomness. The previous implementation did exactly what the Microsoft libstdc++ and libc++ implementations do. In my opinion, those implementations have an imperfect distribution, which is corrected in this commit. In those, all random input bigger than 0x20000000000000 has a different frequency compared to input below that mark. For example, both 0x20000000000000 and 0x20000000000001 produce the same result (4.8828125e-4). What's more, for the libc++ and MSVC implementations, input between 0xfffffffffffff001 and 0xffffffffffffffff results in 1.0 (probability 1 in 2⁵³), even though the Standard is very clear that the result should be strictly less than 1. GCC 7's libstdc++ doesn't have this issue, whereas the versions before would enter an infinite loop. Change-Id: Ib17dde1a1dbb49a7bba8fffd14eced3c375dd2ec Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Thiago Macieira authored
Let's make it happen even later: at the time of QtCore's unloading from memory. This prevents issues with something using QRandomGenerator after the global static destructor would have run. Change-Id: Icaa86fc7b54d4b368c0efffd14eed56bbbb51cb6 Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Błażej Szczygieł authored
Mouse position is converted from native pixels later, so we must provide native pixels for "QWindowSystemInterface::handleEnterEvent". Amends 7091be1b Task-number: QTBUG-63865 Change-Id: I813c171f2fc1d321af702ac30eb5f2e4232e97c4 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Friedemann Kleint authored
Guard #include by QT_CONFIG. Task-number: QTBUG-63874 Change-Id: I33f4a4c4fbdae3d25874ee9cdc3f1c7e1ab783e3 Reviewed-by:
Oliver Wolff <oliver.wolff@qt.io>
-
Friedemann Kleint authored
Task-number: QTBUG-63876 Change-Id: Ib9216977dd495e05d032e679c2f23ffe6a6953a6 Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@qt.io>
-
Oliver Wolff authored
Not properly initializing all members of the extended parameter struct will cause an "invalid handle specified" exception on use. Task-number: QTBUG-63883 Change-Id: Ic3a58df864c9e29ccbadc04bd71c18c8ef34374c Reviewed-by:
Maurice Kalinowski <maurice.kalinowski@qt.io>
-
Friedemann Kleint authored
Rename the parameter back to 'device', fixing: src/gui/kernel/qevent.cpp:2776: warning: Undocumented parameter 'dev' in QNativeGestureEvent::QNativeGestureEvent() Amends 36af37c9 . Change-Id: I2a3f016dd6a5dda784dc851a052cb5aa1841a472 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
Gabriel de Dietrich authored
Both QNSMenu and QSystemTrayIconQMenu aren't referenced anywhere else, including within qcocoasystemtrayicon.mm, since the QPA backend was added. Change-Id: I632c1b230226b2d08afce7f0f0019e9f7c030ba5 Reviewed-by:
Morten Johan Sørvig <morten.sorvig@qt.io>
-
- 19 Oct, 2017 - 8 commits
-
-
Thiago Macieira authored
QBasicMutex and QMutex are the same in bootstrap mode. Change-Id: Icaa86fc7b54d4b368c0efffd14eed63343ddb51b Reviewed-by:
Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
-
Richard Moe Gustavsen authored
A QVariant can only be converted to a QByteArray if it has user type QMetaType::QByteArray or QMetaType::QString. The way it stood, we always tried to convert the mime data to a QByteArray, and then put the result into a QVariant. This would fail if the mime data contained e.g a QPixmap. This patch will inspect what kind of data the QMimeData contains, and convert it to a QVariant using the expected API. Backport of 6d3c4833 Task-number: QTBUG-57428 Task-number: QTBUG-63660 Change-Id: I09b4a94aef7b52773e1a79c468ead71b36dfbfc5 Reviewed-by:
Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-
Mårten Nordheim authored
The path wouldn't match if the cookie's path was root ('/') and the URLs path was empty. Change-Id: I6dcd10f1fdf4f48f14e50f1b169cbdfda7005849 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Orgad Shaneh authored
Change-Id: I6f6551821ffcd73841e4b5cab5892bd17f5c70b9 Reviewed-by:
Jake Petroules <jake.petroules@qt.io> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Orgad Shaneh authored
Change-Id: I15364b1e8c4f4406fef2be68ca221a8867d0dcfa Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
Orgad Shaneh authored
Change-Id: I637b33ba6d05f40486d8da927ae5cc5148299348 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Gabriel de Dietrich authored
Change-Id: I5924ab0ddb442624f5aeeef023428be228348707 Reviewed-by:
Jake Petroules <jake.petroules@qt.io>
-
Robert Loehning authored
Change-Id: Iaee19f71e5b74b0d43b628739039ca3c2be60cd0 Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- 18 Oct, 2017 - 11 commits
-
-
Friedemann Kleint authored
Recent drivers no longer contain wintab32.dll, point out a version that still has it. Change-Id: I4125a0af3c11ab739f8006b91f58899aeed54458 Reviewed-by:
Andre de la Rocha <andre.rocha@qt.io> Reviewed-by:
Gabriel de Dietrich <gabriel.dedietrich@qt.io> Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
Thorbjørn Lund Martsum authored
Before this patch a very accurate drop position below or above an index was needed. Therefore it was not that easy to do. This patch increases the above/below area to be about 18% of the item (still leaving the most space for the item). An average user will likely be 2-3x faster with dropping below or above (while not losing much when dropping on items). [ChangeLog][QtWidgets][ItemViews] Made it easier to drop above and below items. Change-Id: I47f0f80c76878c17ebf3f93d0a0cc82755971c2a Reviewed-by:
Andy Shaw <andy.shaw@qt.io> Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@qt.io>
-
Nico Vertriest authored
Task-number: QTBUG-60635 Change-Id: I963ecbf0b386e9f5d41b4c15e2af883cf21d3c83 Reviewed-by:
Richard Moe Gustavsen <richard.gustavsen@qt.io>
-
Nico Vertriest authored
windowsvista-treeview.png --> windows-treeview.png Change-Id: I19ccec1ff5fadf2107ad47109d65f170df4b0505 Reviewed-by:
Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-
Nico Vertriest authored
qpushbutton.h:55: warning: Missing image: windows-pushbutton.jpg widgets.qdoc:28: warning: Missing image: windowsvista-treeview.png Change-Id: I2ebf2aa809f8d532f597624f6ed2f9d636e860a6 Reviewed-by:
Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-
Nico Vertriest authored
Change-Id: I2b4fcd02c13fcd6569ebf035197da361aba40afd Reviewed-by:
Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-
Friedemann Kleint authored
Introduce nullptr and replace foreach with new C++11 range based for loops. Minor fixups of signals, file dialog usage. Apply the same changes to the ItemViews/puzzle example since it shares parts of the code with DragAndDrop/puzzle. Make some changes to both examples to that the diff of the two becomes small for easier comparison. Task-number: QTBUG-60635 Change-Id: I8af824229ebac24d6ec151eae92176d227695490 Reviewed-by:
Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by:
Gatis Paeglis <gatis.paeglis@qt.io>
-
Liang Qi authored
for QNetworkReplyHttpImplPrivate::startWaitForSession(). This amends 8a39384e . Task-number: QTBUG-63847 Change-Id: Ic20a4ac3ab97ed25010e0679810ef64c3ff42c05 Reviewed-by:
Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io>
-
Thiago Macieira authored
All systems must implement it by now. If there's any system still without it, that means it has no IPv6 support, so they can disable QtNetwork entirely. [ChangeLog][Deprecation Notice] Starting with Qt 5.10, IPv6 support is mandatory for all platforms. Systems without proper IPv6 support, such as the getaddrinfo() function or the proper socket address structures, will not be able to build QtNetwork anymore. Change-Id: I3868166e5efc45538544fffd14d8c28046f9191b Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Friedemann Kleint authored
Proximit events are sent to the QGuiApplication, catch them via event filter. Change-Id: I7f896e7d9f5c90347b9e3c708feb69abd1c5fc95 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
Friedemann Kleint authored
Change-Id: If5ebb45ce286d6a96c9f8bfe1fac70661d065460 Reviewed-by:
Shawn Rutledge <shawn.rutledge@qt.io>
-
- 17 Oct, 2017 - 4 commits
-
-
Mårten Nordheim authored
All POST requests that were redirected would previously turn into GET requests. This does not follow the standard for HTTP codes 307 and 308. Task-number: QTBUG-63142 Change-Id: Ibd25a9566066e589670a9bc34e5dc5111f8139d5 Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Mårten Nordheim authored
Task-number: QTBUG-63621 Change-Id: I4ee6885d19907bff553149bef9efcffb209eb1f5 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-
Liang Qi authored
-
Alexander Volkov authored
Introduce Contact struct to store contact data and use it instead of QPair<QString, QString>. Proper naming really clarifies the code. Task-number: QTBUG-60635 Change-Id: Ibfb421dfc854accc382212b0da46e7aafc0d528a Reviewed-by:
Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@qt.io>
-