OSDN Git Service
Ivailo Monev [Tue, 16 Feb 2021 22:01:51 +0000 (00:01 +0200)]
make Qt::MatchFlag consistent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 16 Feb 2021 15:21:11 +0000 (17:21 +0200)]
correct comment in QIcuCodec::aliases() [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 22:03:43 +0000 (00:03 +0200)]
remove dummy qHash() implementation for QItemSelectionRange
upstream commit:
https://github.com/qt/qtbase/commit/
c6cdf38e752c22babdbe645366bdfb7ce51d01ff
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 21:47:54 +0000 (23:47 +0200)]
change project and publisher ID in Doxygen config
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 21:47:18 +0000 (23:47 +0200)]
mark QDBusConnection::callWithCallback() overload as deprecated
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 21:36:08 +0000 (23:36 +0200)]
skip some tests for QSettings::NativeFormat case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 20:51:17 +0000 (22:51 +0200)]
remove debug and no-op code in QIcuCodec
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 09:58:46 +0000 (11:58 +0200)]
add script to generate documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 00:50:54 +0000 (02:50 +0200)]
mark some QProcessPrivate warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 00:39:39 +0000 (02:39 +0200)]
deinline assignment and return in QTimerInfoList::updateCurrentTime()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 00:38:44 +0000 (02:38 +0200)]
properly indent QTimerInfoList::timerWait()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 15 Feb 2021 00:09:50 +0000 (02:09 +0200)]
use qt_safe_read() in QEventDispatcherUNIXPrivate::processThreadWakeUp()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 23:17:03 +0000 (01:17 +0200)]
use platform definitions and interrupt aware functions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 18:07:33 +0000 (20:07 +0200)]
move comment where it should be in top-level build file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 18:06:34 +0000 (20:06 +0200)]
remove now unused qt_pch header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 17:35:22 +0000 (19:35 +0200)]
do not redefine QT_OPEN, QT_READ, QT_WRITE and QT_CLOSE from qcore_unix_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 17:17:25 +0000 (19:17 +0200)]
use EINTR_LOOP() macro where possible
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 17:00:50 +0000 (19:00 +0200)]
remove redundant errno header inclusion in qlocalsocket_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 16:54:57 +0000 (18:54 +0200)]
do not mark overflow cases as unlikely in QLocalePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 16:54:13 +0000 (18:54 +0200)]
use qt_safe_open() and qt_safe_close() in openRX71Device()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 16:53:46 +0000 (18:53 +0200)]
remove redundant errno header inclusion in qprocess source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 16:53:28 +0000 (18:53 +0200)]
prefix sem_open(), sem_unlink(), sem_close(), sem_post() and sem_wait() in QSystemSemaphorePrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 16:28:44 +0000 (18:28 +0200)]
use qt_safe_open() and qt_safe_close() directly in QFSFileEngine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 14 Feb 2021 13:47:22 +0000 (15:47 +0200)]
use loop-local variable in qFindByteArray()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 20:28:19 +0000 (22:28 +0200)]
do not reallocate the shared null QList data
fixes stack corruption and crashes, notably when build with LTO or on BSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 18:21:31 +0000 (20:21 +0200)]
remove PCH build option
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 17:53:51 +0000 (19:53 +0200)]
disable copying of QMutexPool
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 17:51:39 +0000 (19:51 +0200)]
remove unused QMutexPool::instance()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 17:14:25 +0000 (19:14 +0200)]
attempt to use ccache in AppVeyor environment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 16:28:40 +0000 (18:28 +0200)]
simplify Q_CONSTRUCTOR_FUNCTION() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 16:27:43 +0000 (18:27 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 14:49:18 +0000 (16:49 +0200)]
remove obsolete Qt::WindowType enums documentation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 14:12:23 +0000 (16:12 +0200)]
remove unused QT_PACKAGEDATE_STR and QT_PACKAGE_TAG definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 10:29:39 +0000 (12:29 +0200)]
scope the lock in QTextCodec::codecForName() and QTextCodec::codecForMib()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 10:21:42 +0000 (12:21 +0200)]
obtain only the version via mariadb_config/mysql_config
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 01:16:21 +0000 (03:16 +0200)]
do not install libmysqld-dev in CodeQL environment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 00:55:53 +0000 (02:55 +0200)]
reset errno before calling strtod(), strtoll() or strtoull()
fixes overflow checks on BSD and Linux using musl libc
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 13 Feb 2021 00:44:28 +0000 (02:44 +0200)]
remove redundant errno header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 23:52:22 +0000 (01:52 +0200)]
move QFlag constructor code to its declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 23:51:53 +0000 (01:51 +0200)]
update workflow dependencies
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 22:52:13 +0000 (00:52 +0200)]
remove code for always false condition in qglobal header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 22:18:36 +0000 (00:18 +0200)]
replace sizeof(void*) with QT_POINTER_SIZE
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 18:28:10 +0000 (20:28 +0200)]
use non-recursive lock for QTextCodec
fixes crashes in certain cases on non-Linux host
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 18:04:29 +0000 (20:04 +0200)]
remove redundant condition in QThread::wait()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 12:28:15 +0000 (14:28 +0200)]
do not assume getprogname() returns non-empty string in QCoreApplication::applicationName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 12:12:09 +0000 (14:12 +0200)]
attempt to guess application name from /proc/<pid>/exe in QCoreApplication::applicationName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 11:31:54 +0000 (13:31 +0200)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 11:31:19 +0000 (13:31 +0200)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 11:13:40 +0000 (13:13 +0200)]
correct QIcuCodec and QJsonDocument copyright
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 11:08:49 +0000 (13:08 +0200)]
warning message correction in QIcuCodec::mibEnum()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 10:59:43 +0000 (12:59 +0200)]
do not claim support for codecs with unknown MIB
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 12 Feb 2021 00:03:54 +0000 (02:03 +0200)]
store QDataStream floating precision as member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 11 Feb 2021 12:39:49 +0000 (14:39 +0200)]
change TODO to comment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 11 Feb 2021 02:43:45 +0000 (04:43 +0200)]
copy null-terminator from QByteArray::append()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 11 Feb 2021 01:13:42 +0000 (03:13 +0200)]
delete the codecs from the global list itself
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 10 Feb 2021 23:36:04 +0000 (01:36 +0200)]
reimplement QJsonDocument via Jansson
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 10 Feb 2021 08:12:37 +0000 (10:12 +0200)]
remove redundant uint constructs in QColorDialog
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 10 Feb 2021 07:59:22 +0000 (09:59 +0200)]
remove declaration of non-existing QGraphicsEffectSource::styleOption()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 20:23:25 +0000 (22:23 +0200)]
return QByteArray from QX11Info::appClass()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 13:12:08 +0000 (15:12 +0200)]
use pointer instead of Qt::HANDLE comparison in QMetaObject::activate()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 11:23:48 +0000 (13:23 +0200)]
remove unused QGraphicsEffectSource methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 10:55:40 +0000 (12:55 +0200)]
remove default QCommonStyle reimplementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 09:40:14 +0000 (11:40 +0200)]
indent QCleanlooksStyle::sizeFromContents()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 09:28:22 +0000 (11:28 +0200)]
QXbmHandler does not support QImageIOHandler::SubType
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 09:21:35 +0000 (11:21 +0200)]
do everything in single for loop in katie_setup_object()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 09:01:19 +0000 (11:01 +0200)]
replace nullptr with Q_NULLPTR in qt_print_backtrace()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:45:37 +0000 (10:45 +0200)]
make X11 I/O and X11 connection failure fatal
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:43:33 +0000 (10:43 +0200)]
rebrand message in QT_REQUIRE_VERSION() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:27:40 +0000 (10:27 +0200)]
do not reset application pointer before calling QApplication::exit()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:22:26 +0000 (10:22 +0200)]
get rid of qt_is_gui_used variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:13:43 +0000 (10:13 +0200)]
use QApplication::type() to check the application type in QPixmap::init()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:09:41 +0000 (10:09 +0200)]
initialize qt_is_gui_used variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 9 Feb 2021 08:08:37 +0000 (10:08 +0200)]
remove unused qt_init() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 20:31:33 +0000 (22:31 +0200)]
do not store QBrush pixmaps in cache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 20:26:21 +0000 (22:26 +0200)]
restore behavior prior to
7ed51b57419a5f169bcd2923b5ffe9e60a3fb773
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 19:04:16 +0000 (21:04 +0200)]
reduce the image QBrush to the only used case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 18:26:27 +0000 (20:26 +0200)]
add trivial HexString<T>() implementations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 18:06:15 +0000 (20:06 +0200)]
replace construct with enum in null QBrush initializer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 18:03:29 +0000 (20:03 +0200)]
replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 16:57:46 +0000 (18:57 +0200)]
fix fallback of QCoreApplication::applicationName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 13:38:26 +0000 (15:38 +0200)]
replace qGlobalPostedEventsCount() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 13:25:08 +0000 (15:25 +0200)]
use non-shadowing variable name in QIcuCodec::allMibs()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 13:08:15 +0000 (15:08 +0200)]
remove optional license exception
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 12:48:05 +0000 (14:48 +0200)]
drop text codec plugins support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 12:45:41 +0000 (14:45 +0200)]
merge mkspecs into top-level and macros build files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 10:14:41 +0000 (12:14 +0200)]
version bump
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 8 Feb 2021 07:29:44 +0000 (09:29 +0200)]
move QT_NO_DEBUG conditional out of mkspecs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 06:58:35 +0000 (08:58 +0200)]
add link to NetBSD manual pages in CONTRIBUTING file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 06:27:56 +0000 (08:27 +0200)]
minor QGraphicsItemPrivate::setExtra() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 06:18:30 +0000 (08:18 +0200)]
remove unused QGraphicsItemPrivate::maybeExtraItemCache()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 04:55:06 +0000 (06:55 +0200)]
correct LGPL-only license header [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 04:35:41 +0000 (06:35 +0200)]
remove unused and internal extensions API of QGraphicsItem
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 04:33:27 +0000 (06:33 +0200)]
comment out debug code in tst_QFontDatabase::fixedPitch()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 04:23:11 +0000 (06:23 +0200)]
remove unused QSvgTinyDocument::preserveAspectRatio()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 04:13:36 +0000 (06:13 +0200)]
update copyright to ease maintaince [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 04:01:45 +0000 (06:01 +0200)]
add QFontDatabase test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 03:07:50 +0000 (05:07 +0200)]
remove unused QSvgTinyDocument members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 02:59:05 +0000 (04:59 +0200)]
mark warning cases in QSvgGenerator and QSvgPaintEngine as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 5 Feb 2021 02:50:11 +0000 (04:50 +0200)]
properly initialize QSvgPaintEnginePrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 4 Feb 2021 23:56:20 +0000 (01:56 +0200)]
correct debug and error messages in QFileSystemWatcherEngineUnix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>