qt6-bb10/tests/auto/corelib
Alex Trotsenko 124b9a6ff8 Improve suppression of spurious socket notifications under Windows
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>
2017-05-03 06:46:18 +00:00
..
animation Rename macos blacklisting to osx 2017-04-24 07:24:08 +00:00
codecs tst_utf8: Fix one of the overlong sequences to be what we meant 2017-03-01 12:27:17 +00:00
global Fix test build with ICC: QFlags does not auto cast to uint 2017-04-28 12:37:09 +00:00
io Fix tests that assume system files are owned by root for qemu 2017-04-26 09:12:12 +00:00
itemmodels Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
json Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00
kernel Improve suppression of spurious socket notifications under Windows 2017-05-03 06:46:18 +00:00
mimetypes Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
plugin QVariant: implement QByteArray ↔ QUuid conversion 2017-04-14 12:54:21 +00:00
statemachine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
thread Blacklist tst_qsemaphore on macOS 10.12 2017-04-24 07:24:01 +00:00
tools Split Q_COMPILER_UNICODE_STRINGS: add Q_STDLIB_UNICODE_STRINGS 2017-04-20 06:50:36 +00:00
xml Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
corelib.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00