OSDN Git Service
Ivailo Monev [Tue, 3 Dec 2019 15:58:59 +0000 (15:58 +0000)]
support stack unwinding on assert via Unwind
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 13:09:57 +0000 (13:09 +0000)]
use foreach() for iteration in QSettingsPrivate::variantListToStringList()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 13:09:32 +0000 (13:09 +0000)]
replace QMetaType with QVariant enums where applicable in QVariant::canConvert()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 13:07:02 +0000 (13:07 +0000)]
add SQL tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 09:53:47 +0000 (09:53 +0000)]
MySQL driver review
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 09:19:32 +0000 (09:19 +0000)]
remove unused QSqlDatabasePrivate member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 09:02:12 +0000 (09:02 +0000)]
use foreach() for iterations in tst_Databases
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 09:01:46 +0000 (09:01 +0000)]
remove unused toHex() function from tst_databases header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 08:39:17 +0000 (08:39 +0000)]
use foreach() for iteration in tst_Databases::open() and tst_Databases::close()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 08:38:07 +0000 (08:38 +0000)]
use foreach for iteration in tst_QSqlDatabase::initTestCase() and tst_QSqlDatabase::cleanupTestCase()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 08:09:29 +0000 (08:09 +0000)]
change build type to Debug when building with GCC in Travis
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 08:06:07 +0000 (08:06 +0000)]
QVariant benchmark requires gui component
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 08:04:04 +0000 (08:04 +0000)]
fix assert and compiler warning about it in HarfBuzz shaper
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 08:03:17 +0000 (08:03 +0000)]
correct table comments in HarfBuzz shaper
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 06:27:59 +0000 (06:27 +0000)]
add QSettings test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 06:25:44 +0000 (06:25 +0000)]
replace table with cases and fix JsonArray and JsonObject cases in QVariant::canConvert()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 06:14:39 +0000 (06:14 +0000)]
remove unused qVariantToHelper() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 06:13:59 +0000 (06:13 +0000)]
return from QVariant convert() helper and return ok for QVariant::Double/QVariant::Float cases
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 04:14:37 +0000 (04:14 +0000)]
mark the result of UString::ascii const
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 3 Dec 2019 04:13:54 +0000 (04:13 +0000)]
reduce branches in QIcuCodec::codecForUtf
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 2 Dec 2019 07:51:19 +0000 (07:51 +0000)]
correct note in MySQL CMake module
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 2 Dec 2019 04:51:04 +0000 (04:51 +0000)]
add note why CMP0063 is set to NEW [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 2 Dec 2019 04:22:03 +0000 (04:22 +0000)]
correct variable name in main tests CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 2 Dec 2019 04:21:29 +0000 (04:21 +0000)]
make the runnable sleep for 3sec to avoid race in tst_QThreadPool::reserveAndStart()
otherwise the runnable can finish before active thread count check is reached
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 2 Dec 2019 02:34:13 +0000 (02:34 +0000)]
add separate build time option for tests and benchmarks
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 2 Dec 2019 02:06:14 +0000 (02:06 +0000)]
return IPv6 address conditionally from QtNetworkSettings::serverIPs()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 15:07:17 +0000 (15:07 +0000)]
lock when setting QThreadPool expiry time
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 14:06:30 +0000 (14:06 +0000)]
run tests in Travis when building with GCC
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 13:44:07 +0000 (13:44 +0000)]
correct expected data for 7nn_NO case in QLocale test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 13:34:58 +0000 (13:34 +0000)]
remove unused QtNetworkSettings::winServerName() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 13:34:07 +0000 (13:34 +0000)]
remove variables that do not actually affect ctest from runtest script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 13:33:29 +0000 (13:33 +0000)]
use https://www.w3.org/ for network tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 13:02:59 +0000 (13:02 +0000)]
fix lexgen test build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 13:02:08 +0000 (13:02 +0000)]
lower result values in benchcompare script if they are too big
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 10:33:07 +0000 (10:33 +0000)]
remove default reimplementations from ExtractImages, WriteIconData, WriteIconDeclaration and WriteIconInitialization
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 10:27:42 +0000 (10:27 +0000)]
remove default reimplementation of TreeWalker::acceptIncludes() from WriteIncludes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 10:04:03 +0000 (10:04 +0000)]
avoid temporaries in QDBusAdaptorConnector::polish()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 07:58:12 +0000 (07:58 +0000)]
optimize known values lookup in CSS parser
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 06:41:50 +0000 (06:41 +0000)]
regenerate javascriptcore grammar
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 06:14:00 +0000 (06:14 +0000)]
change KATIE_KEY pattern to similar to machine identifier of compilers [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 1 Dec 2019 05:07:55 +0000 (05:07 +0000)]
inline QTestEventLoop methods again
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 07:38:27 +0000 (07:38 +0000)]
remove duplicate extern reference in translateKeySym() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 07:30:26 +0000 (07:30 +0000)]
use lower-case name for local variable in mkspecs CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 07:18:47 +0000 (07:18 +0000)]
disable data relocations if CMAKE_POSITION_INDEPENDENT_CODE is set to OFF/FALSE
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 03:37:31 +0000 (03:37 +0000)]
simplify PRNG seeding
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 03:02:38 +0000 (03:02 +0000)]
move some inline methods body to their declaration in QCache
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 01:16:57 +0000 (01:16 +0000)]
replace static function call with its body in QPngHandler::write()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 01:05:22 +0000 (01:05 +0000)]
remove unused QPNGImageWriter::writeImage() overload
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 30 Nov 2019 00:50:55 +0000 (00:50 +0000)]
remove unused QPNGImageWriter members
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 22:22:25 +0000 (22:22 +0000)]
review comments in top-level CMake file [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 22:22:02 +0000 (22:22 +0000)]
improve Qt4 module compatibility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 10:45:27 +0000 (10:45 +0000)]
deal with TODO in CMake macro files [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 10:25:59 +0000 (10:25 +0000)]
QT_VERSION_PATCH compatibility fix [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 10:17:20 +0000 (10:17 +0000)]
make version requirement notes consistent
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 10:14:09 +0000 (10:14 +0000)]
require Sqlite atleast v3.5.0
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 09:24:42 +0000 (09:24 +0000)]
remove manual QGraphicsView benchmarks
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 08:54:34 +0000 (08:54 +0000)]
deal with FIXME in utilities CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 08:29:53 +0000 (08:29 +0000)]
remove unused gencmap utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 08:22:41 +0000 (08:22 +0000)]
remove qlalr utility documentation and examples
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 08:18:21 +0000 (08:18 +0000)]
deal with TODO in gui component CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 06:11:08 +0000 (06:11 +0000)]
remove now unused UString::UTF8String() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 04:57:55 +0000 (04:57 +0000)]
remove redundant header inclusions from qicucodec cpp file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 04:57:13 +0000 (04:57 +0000)]
move QIcuCodec helper methods to the bottom for consistency
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 04:30:23 +0000 (04:30 +0000)]
build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 04:12:27 +0000 (04:12 +0000)]
use QLatinString where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 04:11:47 +0000 (04:11 +0000)]
use QSet instead of QHash for m_laidout member in QAbstractFormBuilder
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 03:49:13 +0000 (03:49 +0000)]
avoid temporary in QNetworkCookieJar::cookiesForUrl()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 03:33:51 +0000 (03:33 +0000)]
replace "Qt Designer" with "Katie Designer"
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 03:24:08 +0000 (03:24 +0000)]
remove unused mac images
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 03:17:28 +0000 (03:17 +0000)]
replace Qt logo
image is by Dave Gandy, CC BY 3.0 license from:
https://www.flaticon.com/free-icon/thumbs-up_25297
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 29 Nov 2019 03:08:20 +0000 (03:08 +0000)]
remove redundant icns file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 23:49:17 +0000 (23:49 +0000)]
Revert "use memcpy() for buffers copy in JavaScriptCore where possible"
This reverts commit
8bf3a0a368ee4aa7cd58cf9259fc7d8acae3cad2.
Ivailo Monev [Thu, 28 Nov 2019 23:34:42 +0000 (23:34 +0000)]
remove redundant ByteArray prototype from qscript tool
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 23:13:56 +0000 (23:13 +0000)]
reimplement JavaScriptCore UTF-8 conversion via QTextCodec
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 20:41:24 +0000 (20:41 +0000)]
inline and avoid temporary in containsTLDEntry() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 10:22:25 +0000 (10:22 +0000)]
make use of static QByteArray::number() and QString::number()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 10:11:44 +0000 (10:11 +0000)]
simplify populateNumericCombo() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 09:56:37 +0000 (09:56 +0000)]
reserve list space in QFileDialog::selectedFiles()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 09:54:59 +0000 (09:54 +0000)]
avoid QString::split() since the result is known in qt_make_filter_list()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 07:52:00 +0000 (07:52 +0000)]
move QSsl::TlsV1 case before default in QSslSocketBackendPrivate::initSslContext()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 07:51:15 +0000 (07:51 +0000)]
use ASN1_STRING_get0_data() if available
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 05:08:50 +0000 (05:08 +0000)]
avoid temporaries and use const-reference where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 03:54:01 +0000 (03:54 +0000)]
sort excluded all-in-one sources list [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 28 Nov 2019 03:47:12 +0000 (03:47 +0000)]
correct definitions for Xext not found case [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 23:22:53 +0000 (23:22 +0000)]
remove duplicate header inclusions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 22:30:52 +0000 (22:30 +0000)]
suppress warnings caused by ignoring chdir retval
upstream commit:
https://github.com/qt/qtbase/commit/
c7da50ef8cf30558537425918cf03f5e72c680c1
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 22:14:09 +0000 (22:14 +0000)]
remove unused v_cast(), v_construct() and v_clear() arguments
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 21:55:55 +0000 (21:55 +0000)]
reduce branches in QIcuCodec::getConverter()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 20:01:26 +0000 (20:01 +0000)]
drop keypad navigation support
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 07:44:19 +0000 (07:44 +0000)]
remove redundant pragmafsck script [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 07:31:56 +0000 (07:31 +0000)]
genmib script review
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 07:03:25 +0000 (07:03 +0000)]
detect only UTF text from QTextCodec::codecForUtfText() for compatibility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 05:22:14 +0000 (05:22 +0000)]
remove unused local variable in QTextCodec::codecForMib()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 05:12:57 +0000 (05:12 +0000)]
use consistent variable name for result in QIcuCodec::convertToUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 05:12:02 +0000 (05:12 +0000)]
correct warning message in QIcuCodec::convertToUnicode()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 03:49:11 +0000 (03:49 +0000)]
platform specific mkspecs are no longer a thing
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 02:37:36 +0000 (02:37 +0000)]
print actual the <class>::<method> info from QIcuCodec::codecForText() warnings
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 01:46:36 +0000 (01:46 +0000)]
no need for Latin1 codec name alias now
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 01:34:56 +0000 (01:34 +0000)]
reimplement QTextCodec::codecForUtfText() via ICU
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 27 Nov 2019 01:05:53 +0000 (01:05 +0000)]
UTF-32 BOM is 4 chars
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>