OSDN Git Service
Ivailo Monev [Tue, 13 Aug 2019 10:39:36 +0000 (10:39 +0000)]
remove QT_NETWORK_LIB guard from network-settings header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 13 Aug 2019 10:32:27 +0000 (10:32 +0000)]
add QHostAdress, QHostInfo and HTTP QNetworkReply tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 19:41:55 +0000 (19:41 +0000)]
add QDate, QTime and QDateTime tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 18:39:29 +0000 (18:39 +0000)]
remove unused local variables in QDateTimeParser::parseSection()
upstream commit:
https://github.com/qt/qtbase/commit/
a3421d1ba670a25c502f5e57d16394eefaa433f3
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 18:36:06 +0000 (18:36 +0000)]
avoid temporary variable shadowing in QDateTimeParser::parseFormat()
upstream commits:
https://github.com/qt/qtbase/commit/
57e024cc81c55b8c442db9f719f19aebb321ef37
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 18:30:07 +0000 (18:30 +0000)]
properly construct QString in DateTimeParser::parseSection()
upstream commit:
https://github.com/qt/qtbase/commit/
7abb90a70aed97c665430eb1e9f174dce26addd4
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 18:26:48 +0000 (18:26 +0000)]
avoid shadowing in QDateTimeParser::findAmPm()
upstream commit:
https://github.com/qt/qtbase/commit/
54ece34283f0eea4181772d6ce5fcd16c96a8962
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 15:11:56 +0000 (15:11 +0000)]
remove redundant default cases from QDate short/long month/day getters
upstream commits:
https://github.com/qt/qtbase/commit/
0b77e1b6112dfe8a159d6704fbdb940ba477b467
https://github.com/qt/qtbase/commit/
613449a58d3957267ed8abb0d629ebdac72ec6cb
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 14:23:38 +0000 (14:23 +0000)]
remove redundant checks from QDate short/long month/day getters
upstream commit:
https://github.com/qt/qtbase/commit/
e7f962d2719fb5d44b24a58b9d493ade93538cf4
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 8 Aug 2019 14:22:11 +0000 (14:22 +0000)]
mark QDate::getDate() const
upstream commit:
https://github.com/qt/qtbase/commit/
a44d7862c8e92ad2bc2d0d56e542066e688d5c82
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 19:28:45 +0000 (19:28 +0000)]
fix one of the limitations of QT_TRY/QT_CATCH macros
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 12:56:22 +0000 (12:56 +0000)]
optimize QLineF::angleTo()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 12:47:21 +0000 (12:47 +0000)]
remove default case from QLibraryInfo::location()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 12:46:51 +0000 (12:46 +0000)]
remove redundant header inclusions from qlibraryinfo source
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 12:39:03 +0000 (12:39 +0000)]
add NaCl architecture check
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 12:27:12 +0000 (12:27 +0000)]
add HPPA (a.k.a. PA-RISC) architecture check
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 11:53:17 +0000 (11:53 +0000)]
correct JavaScriptCore jsNumberCell() stubs for non-JSVALUE32 case
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 1 Aug 2019 11:26:50 +0000 (11:26 +0000)]
use memcpy() for buffers copy in JavaScriptCore where possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 20:13:24 +0000 (20:13 +0000)]
avoid creating QPixmap from other QPixmap in QItemDelegate::selected()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 19:15:59 +0000 (19:15 +0000)]
use loop instead of while iterator in UString::ascii()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 13:26:35 +0000 (13:26 +0000)]
handle relative paths in benchcompare script [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 12:06:00 +0000 (12:06 +0000)]
remove JavaScriptCore JIT leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 11:11:04 +0000 (11:11 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 00:10:06 +0000 (00:10 +0000)]
initialize all members of the QPixmapCache benchmark struct
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 31 Jul 2019 00:09:28 +0000 (00:09 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 21:24:44 +0000 (21:24 +0000)]
remove redundant definition check from qplatformdefs header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 21:22:33 +0000 (21:22 +0000)]
remove now obsolete workaround for X11 macros
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 20:40:30 +0000 (20:40 +0000)]
replace LD_LIBRARY_PATH override with debhelper solution
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 20:14:10 +0000 (20:14 +0000)]
set debhelper compat to 10 for parallel build support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 18:35:17 +0000 (18:35 +0000)]
use pthread_equal() for thread id comparison
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 18:34:49 +0000 (18:34 +0000)]
initialize QThreadPrivate::thread_id as zero
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 18:22:52 +0000 (18:22 +0000)]
effectively revert
96ec0276e87ffcf859484d87e544c3af335cb215
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 15:41:29 +0000 (15:41 +0000)]
initialize QWExtra::compress_events to true
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 12:06:08 +0000 (12:06 +0000)]
call QHash::count() from QCache::count() even tho they both return size
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 12:04:33 +0000 (12:04 +0000)]
review CMake modules
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 11:30:40 +0000 (11:30 +0000)]
build bootstrap moc without regular expression feature
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 11:30:04 +0000 (11:30 +0000)]
use character lookup instead of regular expression in QDateTime::fromString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 11:18:43 +0000 (11:18 +0000)]
remove unused QScriptDeclarativeClassPrivate member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 11:01:18 +0000 (11:01 +0000)]
use proper type for unicode script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 11:00:18 +0000 (11:00 +0000)]
remove unused script argument from QFontDatabase functions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 01:18:23 +0000 (01:18 +0000)]
remove now non-existing method declaration from JSC Lexer header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 01:15:52 +0000 (01:15 +0000)]
remove redundant contains check from QChache::take()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 30 Jul 2019 01:15:25 +0000 (01:15 +0000)]
remove unused JSC SourceProvider member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 23:35:07 +0000 (23:35 +0000)]
add note where to get the data from to genutf
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 23:21:21 +0000 (23:21 +0000)]
review genutf script [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 22:09:38 +0000 (22:09 +0000)]
update manual pages [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 22:08:49 +0000 (22:08 +0000)]
correct qscript tool name in manual page
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 18:37:17 +0000 (18:37 +0000)]
use qulonglong construct to make the compiler cope with quintptr
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 17:48:58 +0000 (17:48 +0000)]
replace c-style quintptr casts with constructors for consistency
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 17:48:26 +0000 (17:48 +0000)]
add short/ushort QByteArray::number() and QString::number() overloads
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 17:43:12 +0000 (17:43 +0000)]
Revert "JavaScriptCore table, iterators and mutex do not have to be mutable"
This reverts commit
8f0ff492ecffd5a61bb828796961e867249e7fb7.
Ivailo Monev [Mon, 29 Jul 2019 17:42:30 +0000 (17:42 +0000)]
reimplement QCache purely based on QHash
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 17:36:20 +0000 (17:36 +0000)]
call qlonglong/qulonglong overloads for int/uint from QByteArray::number()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 16:56:39 +0000 (16:56 +0000)]
make use of std::uintptr_t and std::ptrdiff_t
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 11:45:37 +0000 (11:45 +0000)]
assume QStyleOptionFrame is version 2 where possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 11:35:17 +0000 (11:35 +0000)]
remove default reimplementation of QCommandLinkButton::event()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 11:17:44 +0000 (11:17 +0000)]
remove obsolete QLCDNumber enums doc reference
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:48:17 +0000 (10:48 +0000)]
indentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:41:38 +0000 (10:41 +0000)]
construct QFile with the filename in QHostInfo::localDomainName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:40:28 +0000 (10:40 +0000)]
remove incorrect namespace prefix from getHostByNameMutex() reference in QHostInfoAgent::fromName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:39:02 +0000 (10:39 +0000)]
remove space from QDir enum reference in QNetworkDiskCache::expire()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:24:52 +0000 (10:24 +0000)]
avoid two timezone spec lookups in QDateTime::fromString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:17:19 +0000 (10:17 +0000)]
remove redundant exclude pattern from doxygen config
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 29 Jul 2019 10:16:58 +0000 (10:16 +0000)]
do not generate docs for private classes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 22:12:12 +0000 (22:12 +0000)]
fix host lookup when build without thread support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 21:13:48 +0000 (21:13 +0000)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 21:10:57 +0000 (21:10 +0000)]
build QMutex and QWaitCondition benchmarks conditionally
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 21:10:14 +0000 (21:10 +0000)]
skip dbus performance benchmark if build with process feature disabled
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 20:47:20 +0000 (20:47 +0000)]
use timers for QDeclarativeWorkerScriptEngine and QDeclarativePixmapReader if thread is not supported
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 19:53:00 +0000 (19:53 +0000)]
build jpeg benchmark conditionally
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 19:49:42 +0000 (19:49 +0000)]
build auto tests that depend on thread support conditionally
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 18:27:03 +0000 (18:27 +0000)]
replace try/catch/throw with QT_TRY/QT_CATCH/QT_RETHROW where possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 17:53:18 +0000 (17:53 +0000)]
introduce Q_COMPILER_EXCEPTIONS
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 17:45:00 +0000 (17:45 +0000)]
assume qPrintable is not defined
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 15:52:07 +0000 (15:52 +0000)]
remove windows leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 15:45:24 +0000 (15:45 +0000)]
avoid use of goto in QFontDatabase::smoothSizes()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 14:20:51 +0000 (14:20 +0000)]
assume progress style is version 2 where possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 13:52:58 +0000 (13:52 +0000)]
avoid temporary in unzipXPM() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 13:42:00 +0000 (13:42 +0000)]
indentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 13:41:35 +0000 (13:41 +0000)]
remove unused QColorShower member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 13:17:49 +0000 (13:17 +0000)]
update classes list in namefsck script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 13:09:34 +0000 (13:09 +0000)]
now that classes removal is not done often, avoid running genmap when building
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 13:00:11 +0000 (13:00 +0000)]
remove non-existing include directory from script component includes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 12:45:29 +0000 (12:45 +0000)]
compute hash only once depending on algorithm in digestMd5ResponseHelper()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 12:42:12 +0000 (12:42 +0000)]
use static hash function in QNetworkDiskCachePrivate::uniqueFileName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 28 Jul 2019 12:36:13 +0000 (12:36 +0000)]
bump network disk cache version since different compression method is used
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 22:06:44 +0000 (22:06 +0000)]
prepend translation call with class in QIODevice::errorString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 22:06:00 +0000 (22:06 +0000)]
correct translations handling in updatetranslations script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 22:05:31 +0000 (22:05 +0000)]
update translations
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 22:02:38 +0000 (22:02 +0000)]
remove threaded QML interpreter leftover
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 21:53:56 +0000 (21:53 +0000)]
effectively revert QString changes
that includes:
https://github.com/fluxer/katie/commit/
53b54fc8a63c4301f07ca5efbe9d8df8cd4739d5
https://github.com/fluxer/katie/commit/
3e4c0955a908bc8f75c30494041feb3355cadf30
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 17:09:34 +0000 (17:09 +0000)]
review updatetranslations script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 16:43:43 +0000 (16:43 +0000)]
remove incorrect note about pointer leaking
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 16:31:14 +0000 (16:31 +0000)]
drop Glib2 event dispatcher support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 16:20:59 +0000 (16:20 +0000)]
update README pci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 16:15:36 +0000 (16:15 +0000)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 15:47:13 +0000 (15:47 +0000)]
QT_NO_THREAD conditional build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 12:56:19 +0000 (12:56 +0000)]
rcc branding [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 12:52:37 +0000 (12:52 +0000)]
use dummy pointer to get stack base if build without threads
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 27 Jul 2019 11:53:21 +0000 (11:53 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>