Commit graph

820 commits

Author SHA1 Message Date
Ivailo Monev
bfc5f89161 add QClipboard test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-06 21:18:31 +02:00
Ivailo Monev
00a15e3ff5 add QAnimationGroup test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-06 21:07:13 +02:00
Ivailo Monev
284f61d138 add QNetworkInterface test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-05 06:37:09 +02:00
Ivailo Monev
351b6f320c large and transparent image samples for QImageReader benchmark
Katie image format is 6x faster than png on transparent images, note
the size of the images. benchmark result:
********* Start testing of tst_QImageReader *********
Config: Using QTest library 4.12.0, Katie 4.12.0
PASS  : tst_QImageReader::initTestCase()
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.kat":
     0.450 msecs per iteration (total: 225, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.kat":
     5.148 msecs per iteration (total: 2,574, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.kat":
     2.176 msecs per iteration (total: 1,088, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.png":
     1.82 msecs per iteration (total: 911, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.png":
     19.46 msecs per iteration (total: 9,733, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.png":
     12.34 msecs per iteration (total: 6,171, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.ppm":
     0.586 msecs per iteration (total: 293, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.ppm":
     2.728 msecs per iteration (total: 1,364, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.ppm":
     2.418 msecs per iteration (total: 1,209, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.svg":
     10.79 msecs per iteration (total: 5,399, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.xpm":
     8.084 msecs per iteration (total: 4,042, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.xpm":
     75.654 msecs per iteration (total: 37,827, iterations: 500)
RESULT   : tst_QImageReader::readImage():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.xpm":
     63.850 msecs per iteration (total: 31,925, iterations: 500)
PASS  : tst_QImageReader::readImage()
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.kat":
     1.94 msecs per iteration (total: 974, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.kat":
     6.598 msecs per iteration (total: 3,299, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.kat":
     3.594 msecs per iteration (total: 1,797, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.png":
     3.332 msecs per iteration (total: 1,666, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.png":
     20.360 msecs per iteration (total: 10,180, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.png":
     13.29 msecs per iteration (total: 6,645, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.ppm":
     1.44 msecs per iteration (total: 720, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.ppm":
     3.668 msecs per iteration (total: 1,834, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.ppm":
     3.364 msecs per iteration (total: 1,682, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.svg":
     9.324 msecs per iteration (total: 4,662, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench.xpm":
     9.622 msecs per iteration (total: 4,811, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-large.xpm":
     77.180 msecs per iteration (total: 38,590, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"/home/smil3y/katie/tests/benchmarks/gui/image/qimagereader//images/bench-transparent.xpm":
     65.346 msecs per iteration (total: 32,673, iterations: 500)
PASS  : tst_QImageReader::setScaledSize()
PASS  : tst_QImageReader::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped
********* Finished testing of tst_QImageReader *********

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-04 18:37:47 +02:00
Ivailo Monev
f81903f64d Katie image format optimization
from 2x faster to 3x compared to png, benchmark results bellow:
********* Start testing of tst_QImageReader *********
Config: Using QTest library 4.12.0, Katie 4.12.0
PASS  : tst_QImageReader::initTestCase()
RESULT   : tst_QImageReader::readImage():"bench.kat":
     0.452 msecs per iteration (total: 226, iterations: 500)
RESULT   : tst_QImageReader::readImage():"bench.pbm":
     0.026 msecs per iteration (total: 13, iterations: 500)
RESULT   : tst_QImageReader::readImage():"bench.png":
     1.82 msecs per iteration (total: 912, iterations: 500)
RESULT   : tst_QImageReader::readImage():"bench.ppm":
     0.588 msecs per iteration (total: 294, iterations: 500)
RESULT   : tst_QImageReader::readImage():"bench.svg":
     10.80 msecs per iteration (total: 5,400, iterations: 500)
RESULT   : tst_QImageReader::readImage():"bench.xpm":
     8.172 msecs per iteration (total: 4,086, iterations: 500)
PASS  : tst_QImageReader::readImage()
RESULT   : tst_QImageReader::setScaledSize():"bench.kat":
     1.95 msecs per iteration (total: 977, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"bench.pbm":
     1.34 msecs per iteration (total: 671, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"bench.png":
     3.328 msecs per iteration (total: 1,664, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"bench.ppm":
     1.44 msecs per iteration (total: 720, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"bench.svg":
     9.304 msecs per iteration (total: 4,652, iterations: 500)
RESULT   : tst_QImageReader::setScaledSize():"bench.xpm":
     9.730 msecs per iteration (total: 4,865, iterations: 500)
PASS  : tst_QImageReader::setScaledSize()
PASS  : tst_QImageReader::cleanupTestCase()
Totals: 4 passed, 0 failed, 0 skipped
********* Finished testing of tst_QImageReader *********

********* Start testing of tst_QImageWriter *********
Config: Using QTest library 4.12.0, Katie 4.12.0
PASS  : tst_QImageWriter::initTestCase()
RESULT   : tst_QImageWriter::writeImage():"kat":
     2.428 msecs per iteration (total: 1,214, iterations: 500)
RESULT   : tst_QImageWriter::writeImage():"png":
     7.798 msecs per iteration (total: 3,899, iterations: 500)
RESULT   : tst_QImageWriter::writeImage():"ppm":
     6.954 msecs per iteration (total: 3,477, iterations: 500)
PASS  : tst_QImageWriter::writeImage()
PASS  : tst_QImageWriter::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of tst_QImageWriter *********

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-01 01:11:30 +02:00
Ivailo Monev
cb129b5889 add QSystemTrayIcon test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 18:36:12 +02:00
Ivailo Monev
937b8c02ce QVariant test build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 17:13:39 +02:00
Ivailo Monev
58ad321c89 drop unused QQuaternion class [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 16:20:02 +02:00
Ivailo Monev
19c7089395 reimplement javascriptcore regexp via std::regex
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-28 05:08:23 +02:00
Ivailo Monev
a36e690506 optional custom image format, for the details see the webp branch
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 22:33:16 +02:00
Ivailo Monev
f379fe8dbd remove irrelevant QImageIOHandler options
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 19:49:12 +02:00
Ivailo Monev
f07ccf82bf build fix for the case when QT_NO_WHEELEVENT is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 14:17:58 +02:00
Ivailo Monev
efb2a2f413 build fix for the case when QT_NO_WHATSTHIS is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 14:03:14 +02:00
Ivailo Monev
c54fb779bc build fix for the case when QT_NO_VECTOR2D, QT_NO_VECTOR3D or QT_NO_VECTOR4D is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 13:25:10 +02:00
Ivailo Monev
99ba14998c compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-27 00:54:31 +02:00
Ivailo Monev
2c087f6144 oops, copy-pasta
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 23:26:54 +02:00
Ivailo Monev
b08f812780 build fix for the case when QT_NO_STYLE_WINDOWS is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 22:24:40 +02:00
Ivailo Monev
106c44d412 build fix for the case when QT_NO_STYLE_STYLESHEET is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 21:56:12 +02:00
Ivailo Monev
e6c7cf9300 build fix for the case when QT_NO_STYLE_PROXY is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 20:59:08 +02:00
Ivailo Monev
f932710e16 partial build fix for the case when QT_NO_STATUSBAR is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 19:55:05 +02:00
Ivailo Monev
dc74adcdbd build fix for the case when QT_NO_SIZEGRIP is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 04:41:33 +02:00
Ivailo Monev
089a63e673 partial build fix for the case when QT_NO_SIGNALMAPPER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 04:06:35 +02:00
Ivailo Monev
7af1f3d02c build fix for the case when QT_NO_QUUID_STRING is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 02:37:39 +02:00
Ivailo Monev
64e61d523f build fix for the case when QT_NO_QUATERNION is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-26 02:05:05 +02:00
Ivailo Monev
b230a5f32b add QScrollArea test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 20:45:18 +02:00
Ivailo Monev
91b178316d add QDockWidget test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 20:27:25 +02:00
Ivailo Monev
32ccace532 add QRadioButton test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 19:44:03 +02:00
Ivailo Monev
ada1226c62 add QHeaderView test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 19:29:39 +02:00
Ivailo Monev
9acd2412e8 build fix for the case when QT_NO_LOCALSERVER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 18:08:59 +02:00
Ivailo Monev
c357505009 QImageReader benchmark review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 18:07:16 +02:00
Ivailo Monev
01f76a3061 remove images created by QImageWriter benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 16:43:01 +02:00
Ivailo Monev
3b039cd479 new QImageWriter benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 16:41:07 +02:00
Ivailo Monev
a8143a1334 easier to maintain QImageReader benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 16:39:33 +02:00
Ivailo Monev
75747a7256 build fix for the case when QT_NO_GRAPHICSEFFECT is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 13:47:45 +02:00
Ivailo Monev
3813419d30 build fix for the case when QT_NO_FILESYSTEMWATCHER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 02:46:03 +02:00
Ivailo Monev
2d9212f90f partial build fix for the case when QT_NO_ERRORMESSAGE is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-25 01:13:27 +02:00
Ivailo Monev
3811ce0aef build fix for the case when QT_NO_DIAL is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 23:55:39 +02:00
Ivailo Monev
ef664b3152 build fix for the case when QT_NO_DATAWIDGETMAPPER is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 23:11:38 +02:00
Ivailo Monev
6c3cd520e2 build fix for the case when QT_NO_COLUMNVIEW is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 20:24:45 +02:00
Ivailo Monev
51de49b198 if QLocalServer support is disabled use QTcpServer in QtNetworkSettings::supportsIPv6()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 16:51:51 +02:00
Ivailo Monev
b2f0b31914 remove symbian leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 16:43:43 +02:00
Ivailo Monev
f4e311aa34 remove definitions for features that are no longer supported [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 15:10:49 +02:00
Ivailo Monev
4a129d3e5a drop Md4 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 00:44:30 +02:00
Ivailo Monev
5bd7004b6f include now required system header in tst_qsocketnotifier source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-23 23:50:58 +02:00
Ivailo Monev
3cea79e9f4 merge QNativeSocketEngine into QAbstractSocketEngine, it doesn't do proxies so drop support for that while at it [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-23 23:17:23 +02:00
Ivailo Monev
0b551a79c2 new QFile hijack test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-22 16:33:39 +02:00
Ivailo Monev
6fad22315c QFile test does not require network component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-22 16:03:19 +02:00
Ivailo Monev
fba2c2132c drop SSL support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-21 15:25:20 +02:00
Ivailo Monev
808d94b266 partial rootless JSON arrays support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-21 08:48:43 +02:00
Ivailo Monev
59da27ca99 drop network access classes [ci reset]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-19 17:38:56 +02:00