OSDN Git Service
Ivailo Monev [Tue, 2 Feb 2021 00:51:34 +0000 (02:51 +0200)]
Revert "use poll() instead of select() where possible"
This reverts commit
cad91a72b60c68b80b648b49b12199fc2094315f.
Ivailo Monev [Tue, 2 Feb 2021 00:18:02 +0000 (02:18 +0200)]
mark QBearerEngine::hasIdentifier() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 2 Feb 2021 00:07:00 +0000 (02:07 +0200)]
markQGlobalNetworkProxy::applicationProxy() and markQGlobalNetworkProxy::proxyForQuery() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 23:59:47 +0000 (01:59 +0200)]
mark QSocks5BindStore::contains() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 20:58:52 +0000 (22:58 +0200)]
use poll() instead of select() where possible
based on patch from OpenBSD's ports:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/x11/qt4/patches/patch-src_network_socket_qnativesocketengine_unix_cpp?rev=1.2&content-type=text/plain
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 09:17:47 +0000 (11:17 +0200)]
use qt_safe_select() in QEventDispatcherUNIXPrivate::doSelect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 08:26:37 +0000 (10:26 +0200)]
use qt_safe_select() instead of ::select() in QLocalSocket::waitForConnected()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 07:12:06 +0000 (09:12 +0200)]
lock QFactoryLoader on write instead of read
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 06:50:00 +0000 (08:50 +0200)]
do not use recursive lock in QOpenUrlHandlerRegistry()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 1 Feb 2021 06:23:15 +0000 (08:23 +0200)]
simplify QUuid::createUuid()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 31 Jan 2021 01:03:15 +0000 (03:03 +0200)]
include X11 headers directory in QRegion test build file
fixes test build on DragonFly BSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 23:37:07 +0000 (01:37 +0200)]
add /usr/X11R6/include to headers and /usr/X11R6/lib to link directories on BSD
fixes test build on OpenBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 21:51:27 +0000 (23:51 +0200)]
add QBrush test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 18:21:19 +0000 (20:21 +0200)]
simplify plugins instance initialization in Q_EXPORT_PLUGIN2() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 17:11:17 +0000 (19:11 +0200)]
fix warning about float truncation in tst_qdatastream
upstream commit:
https://github.com/qt/qtbase/commit/
04285d94e8fd94c4754b93692d0a095733989922
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 17:08:00 +0000 (19:08 +0200)]
QUuid test fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 16:20:43 +0000 (18:20 +0200)]
remove redundant stdlib header inclusion in quuid source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 16:20:11 +0000 (18:20 +0200)]
add QUuid test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 16:19:34 +0000 (18:19 +0200)]
use qrand() for random bits in QUuid::createUuid()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 15:38:22 +0000 (17:38 +0200)]
remove now unused and internal QFontMetrics::width()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 15:19:38 +0000 (17:19 +0200)]
update Qt::Key documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 15:01:23 +0000 (17:01 +0200)]
remove unused and internal Qt::NoFormatConversion enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 14:58:29 +0000 (16:58 +0200)]
remove unused and internal Qt::TextBypassShaping enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 30 Jan 2021 04:03:16 +0000 (06:03 +0200)]
static analyzer warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 29 Jan 2021 23:24:59 +0000 (01:24 +0200)]
use constructor function to register D-Bus meta types
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 29 Jan 2021 18:47:13 +0000 (20:47 +0200)]
mark QLabel reimplementations as virtual
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 29 Jan 2021 15:23:10 +0000 (17:23 +0200)]
add QDataStream test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 29 Jan 2021 15:17:37 +0000 (17:17 +0200)]
Revert "read all data from input QByteArray data stream at once"
This reverts commit
e424d2885021cffbdc852fbdabf2e12336cfb233.
Ivailo Monev [Fri, 29 Jan 2021 03:41:09 +0000 (05:41 +0200)]
call getLocaleData() instead of QString::fromUtf8() in QLocale::currencySymbol()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 15:48:43 +0000 (17:48 +0200)]
Revert "remove redundant QDateTimePrivate::LocalDST enum"
This reverts commit
5d1d502b37b9f490c82463ed9aa10d712c65ff02.
Ivailo Monev [Thu, 28 Jan 2021 15:24:06 +0000 (17:24 +0200)]
effectively revert
453c01702b987b3d418ceaf804cb20cbbc9af2f4
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 15:02:48 +0000 (17:02 +0200)]
do not use static buffer in qecvt()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 14:40:07 +0000 (16:40 +0200)]
do not define ATOMIC_INT_LOCK_FREE and ATOMIC_POINTER_LOCK_FREE if not defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 14:24:26 +0000 (16:24 +0200)]
add QEvent test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 03:20:38 +0000 (05:20 +0200)]
do not duplicate file descriptor in QFileSystemWatcherEngineUnix::addPaths()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 03:12:47 +0000 (05:12 +0200)]
remove unused qt_semun struct
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 28 Jan 2021 00:02:14 +0000 (02:02 +0200)]
properly initialize QGraphicsColorizeEffectPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 27 Jan 2021 23:16:22 +0000 (01:16 +0200)]
remove unused QSvgHandler::m_defaultPen member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 27 Jan 2021 18:24:40 +0000 (20:24 +0200)]
implement DestStoreProc for Format_RGB32 and Format_ARGB32_Premultiplied
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 27 Jan 2021 14:56:00 +0000 (16:56 +0200)]
call QList and QVector constructors in classes inheriting from them
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 27 Jan 2021 14:28:18 +0000 (16:28 +0200)]
make QThreadPrivate and QAdoptedThread constructor arguments required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 27 Jan 2021 13:35:42 +0000 (15:35 +0200)]
properly initialize QTimerInfoList
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 27 Jan 2021 13:13:08 +0000 (15:13 +0200)]
add only existing directories to headers and linker search paths for BSD [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 18:13:11 +0000 (20:13 +0200)]
initialize QCustomTypeInfo::alias member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 17:48:37 +0000 (19:48 +0200)]
deal with FIXME in streamDebug()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 17:27:23 +0000 (19:27 +0200)]
mark tm as struct in utcToLocal() and localToUtc()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 17:25:42 +0000 (19:25 +0200)]
prefix tzset() in timeZone()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 17:02:32 +0000 (19:02 +0200)]
do not check errno on hosts not using glibc in QLocalePrivate::bytearrayToDouble(), QLocalePrivate::bytearrayToLongLong() and QLocalePrivate::bytearrayToUnsLongLong()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 16:45:50 +0000 (18:45 +0200)]
do not check strerror_r() return value
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 15:40:22 +0000 (17:40 +0200)]
remove explicit specifier from QTextCodecPlugin constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 14:33:01 +0000 (16:33 +0200)]
use proper type for argument in QVariant::f_convert function prototype
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 14:29:58 +0000 (16:29 +0200)]
remove unused QVariant::f_canConvert function prototype
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 14:07:38 +0000 (16:07 +0200)]
add missing break in GUI QVariant convert()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 13:51:38 +0000 (15:51 +0200)]
remove redundant qRegisterGuiVariant() and qUnregisterGuiVariant() calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 26 Jan 2021 01:03:53 +0000 (03:03 +0200)]
remove some Q_WS_X11 definition checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 22:58:11 +0000 (00:58 +0200)]
optimize QByteArray/QString to bool QVariant conversion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 22:24:03 +0000 (00:24 +0200)]
correct ifdef in qrand()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 21:50:33 +0000 (23:50 +0200)]
simplify temporary file placeholder handling
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 21:46:39 +0000 (23:46 +0200)]
force arc4random() to produce std::rand() compatible values
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 20:23:07 +0000 (22:23 +0200)]
set the iterator text from QTextBoundaryFinder assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 20:14:36 +0000 (22:14 +0200)]
assume QTextCodec::codecForLocale() does not return null
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 19:37:53 +0000 (21:37 +0200)]
skip one rename QDir test if running as root
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 18:23:43 +0000 (20:23 +0200)]
fix build after reconfiguration on NetBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 17:54:10 +0000 (19:54 +0200)]
add QReadLocker and QReadWriteLock tests
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 17:47:07 +0000 (19:47 +0200)]
remove qt3 support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 17:27:18 +0000 (19:27 +0200)]
remove incorrect comment in QThread::setPriority()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 17:25:39 +0000 (19:25 +0200)]
explicitly include pthread header in qthread_unix source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 16:37:01 +0000 (18:37 +0200)]
remove mac support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 15:53:27 +0000 (17:53 +0200)]
remove unused QX11Data::findClientWindow() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 15:12:36 +0000 (17:12 +0200)]
consistent help output from tools
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 14:28:11 +0000 (16:28 +0200)]
static analyzer warning fix
upstream commits:
https://github.com/qt/qtbase/commit/
ae445b20fa2567f7e14d989f288edb69b0904433
https://github.com/qt/qtbase/commit/
ca588f40db9cb1ba0e3f223ca031b18524be4a09
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 14:01:39 +0000 (16:01 +0200)]
remove redundant QEasingCurveFunction() arguments passing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 13:49:16 +0000 (15:49 +0200)]
mark the end of curveToFunctionObject() as unreachable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 13:40:36 +0000 (15:40 +0200)]
add QEasingCurve test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 13:08:35 +0000 (15:08 +0200)]
mark QTextCodecPlugin as deprecated
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 25 Jan 2021 00:50:17 +0000 (02:50 +0200)]
move Qt::mightBeRichText(), Qt::escape() and Qt::convertFromPlainText() to core component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 17:42:13 +0000 (19:42 +0200)]
prefix setlocale() in setupLocaleMapper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 17:30:48 +0000 (19:30 +0200)]
deal with TODO in QHttpNetworkReplyPrivate::findChallenge()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 17:21:10 +0000 (19:21 +0200)]
remove graphics system leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 13:56:32 +0000 (15:56 +0200)]
remove now unused multi-header support of katie_check_defined()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 13:39:50 +0000 (15:39 +0200)]
oops, that was for testing purposes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 13:24:17 +0000 (15:24 +0200)]
pre-allocate result based on the converted domain in QString QUrl::fromAce()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 24 Jan 2021 13:23:29 +0000 (15:23 +0200)]
fallback to stat if dirent.d_type is not supported
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 23:51:33 +0000 (01:51 +0200)]
update URL TLDs table data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 23:46:20 +0000 (01:46 +0200)]
update MIB table data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 21:44:39 +0000 (23:44 +0200)]
check for xdg-open during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 21:18:34 +0000 (23:18 +0200)]
Revert "replace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()"
This reverts commit
e2ac229d74fd8fcba6bfdff73a6dbfc0a788f836.
Ivailo Monev [Sat, 23 Jan 2021 19:24:01 +0000 (21:24 +0200)]
scriptlets for Fedora package
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 19:23:08 +0000 (21:23 +0200)]
add xdg-utils to dependencies in package files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 19:07:28 +0000 (21:07 +0200)]
Revert "do not compress ConfigureNotify X11 events"
This reverts commit
5d8613613f03dd43c08741b490d8cdc4dcd496f8.
Ivailo Monev [Sat, 23 Jan 2021 18:15:38 +0000 (20:15 +0200)]
remove now incorrect comment in QThreadPrivate::start()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 23 Jan 2021 18:14:56 +0000 (20:14 +0200)]
do not compress ConfigureNotify X11 events
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 22 Jan 2021 22:17:10 +0000 (00:17 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 22 Jan 2021 22:12:45 +0000 (00:12 +0200)]
thread priority is no longer masked
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 22 Jan 2021 22:11:58 +0000 (00:11 +0200)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 21 Jan 2021 22:23:35 +0000 (00:23 +0200)]
QImageData::checkForAlphaPixels() and QImage::bitPlaneCount() micro-optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 21 Jan 2021 19:50:00 +0000 (21:50 +0200)]
use ConnectionNumber() macro instead of XConnectionNumber() function call
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 21 Jan 2021 19:44:44 +0000 (21:44 +0200)]
properly initialize QEventDispatcherUNIXPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 21 Jan 2021 15:50:20 +0000 (17:50 +0200)]
README update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 21 Jan 2021 02:11:08 +0000 (04:11 +0200)]
fix alpha detection in fix_color_table()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>