OSDN Git Service
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>
Ivailo Monev [Wed, 27 Nov 2019 00:41:35 +0000 (00:41 +0000)]
make private d member of ConverterState actually private
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 23:15:58 +0000 (23:15 +0000)]
fix upstream QTBUG-15773 and QTBUG-70506
upstream commits:
https://github.com/qt/qtbase/commit/
49efea26a5fae8c2275999c36c7c8d24cf4125de
https://github.com/qt/qtbase/commit/
dedd4a7a7ca9be18ed9fc958ea4da48c2f1fd82f
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 19:05:48 +0000 (19:05 +0000)]
use script instead of utility to generate URL TLDs table
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 18:22:08 +0000 (18:22 +0000)]
update URL TLDs
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 18:20:58 +0000 (18:20 +0000)]
avoid two character lookups in qIsEffectiveTLD() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 11:03:04 +0000 (11:03 +0000)]
fix QDockAreaLayoutInfo and QDockAreaLayout const correctness
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 09:49:28 +0000 (09:49 +0000)]
avoid temporary map in WriteIncludes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 09:34:53 +0000 (09:34 +0000)]
genmap script review
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 08:55:51 +0000 (08:55 +0000)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 07:57:45 +0000 (07:57 +0000)]
MariaDB provides pkg-config files in recent versions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 06:26:14 +0000 (06:26 +0000)]
make SQLite driver use UTF-8 encoding
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 06:24:36 +0000 (06:24 +0000)]
remove redundant header inclusion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 06:24:13 +0000 (06:24 +0000)]
remove redundant forward class declaration in QSqlRecord header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 06:04:36 +0000 (06:04 +0000)]
use initializer list for d initialization in QSqlQuery constructors
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 06:03:50 +0000 (06:03 +0000)]
avoid temporaries in QSqlQuery methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 05:43:07 +0000 (05:43 +0000)]
use initializer list for d initialization in QSqlField constructor
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 05:40:47 +0000 (05:40 +0000)]
avoid detach in QSqlField::setRequiredStatus() if possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 05:39:25 +0000 (05:39 +0000)]
access fields count from private pointer in QSqlRecord::indexOf()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 05:10:56 +0000 (05:10 +0000)]
avoid temporaries for comparison in _q_escapeIdentifier() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 03:41:04 +0000 (03:41 +0000)]
replace default with U_JT_COUNT case in QChar::joining()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 03:24:57 +0000 (03:24 +0000)]
replace C-style with reinterpret casts in ODBC SQL driver
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 02:52:39 +0000 (02:52 +0000)]
move info member to bases classes of JSCallbackObject
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 00:51:55 +0000 (00:51 +0000)]
avoid temporary copies in QString
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 26 Nov 2019 00:51:09 +0000 (00:51 +0000)]
assume invalid QLocale enums are not passed to methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 20:48:52 +0000 (20:48 +0000)]
remove windows support leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 20:07:15 +0000 (20:07 +0000)]
warn upon ucnv_setSubstString() failures
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 19:56:33 +0000 (19:56 +0000)]
make ICU version requirement note consistent with others
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 19:56:04 +0000 (19:56 +0000)]
remove now unused local variable in QPrinterPrivate::createDefaultEngines()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 12:21:46 +0000 (12:21 +0000)]
assume const methods are thread-safe and avoid locking where possible
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 11:58:28 +0000 (11:58 +0000)]
move QT_USE_SYSTEM_PROXIES build conditional to top-level CMake file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 11:36:53 +0000 (11:36 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 09:44:13 +0000 (09:44 +0000)]
call QChar::category()/QChar::direction() overloads instead of inlining via macro
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 09:10:26 +0000 (09:10 +0000)]
remove now redundant threading QHostInfo tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 08:42:31 +0000 (08:42 +0000)]
check received results count instead of timeout in QHostInfo benchmark
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 08:20:43 +0000 (08:20 +0000)]
report codec name and function call upon ucnv_toUChars() failure
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 08:19:22 +0000 (08:19 +0000)]
unknown MIB is 2, as per IANA
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 05:56:32 +0000 (05:56 +0000)]
replace capital with lower case char in CMake modules
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 05:15:34 +0000 (05:15 +0000)]
remove now redundant IDN whitelist support from QUrl
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 05:14:45 +0000 (05:14 +0000)]
convert input domain to UTF-8 in QUrl::fromAce()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 04:56:11 +0000 (04:56 +0000)]
remove now redundant iconv CMake module [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 04:00:34 +0000 (04:00 +0000)]
lower the number for race tests performed in QHostInfo test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 03:59:22 +0000 (03:59 +0000)]
resize result string accordingly in QUrl::fromAce() and QUrl::toAce()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 03:39:52 +0000 (03:39 +0000)]
use object instead of pointer for state in QHostInfo::localHostName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 03:10:45 +0000 (03:10 +0000)]
reimplement QUrl::toAce() and QUrl::fromAce() via ICU
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 02:10:26 +0000 (02:10 +0000)]
avoid use of QListIterator in QtButtonPropertyBrowserPrivate::gridRow()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 01:52:13 +0000 (01:52 +0000)]
make use of ucnv_compareNames() in QTextCodec
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 01:27:02 +0000 (01:27 +0000)]
QSvgFont cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 01:08:15 +0000 (01:08 +0000)]
no current tests use qt_inflateGZipDataFrom()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 00:54:03 +0000 (00:54 +0000)]
use fixed size arrays for static strings in ICU codec
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 00:53:33 +0000 (00:53 +0000)]
remove redundant qIsDetached() template
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 00:21:34 +0000 (00:21 +0000)]
remove redundant qmetaobject header inclusion
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 00:21:06 +0000 (00:21 +0000)]
make QTestTablePrivate getters const
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 25 Nov 2019 00:20:40 +0000 (00:20 +0000)]
use Unicode characters as replacements in ICU codec
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 20:51:36 +0000 (20:51 +0000)]
ICU codec review
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 17:29:59 +0000 (17:29 +0000)]
adjust QTextCodec benchmark
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 17:05:22 +0000 (17:05 +0000)]
virtual methods of QIcuCodec are final
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 16:52:01 +0000 (16:52 +0000)]
make UTF-8 default codec for C-strings
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 04:00:56 +0000 (04:00 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 01:05:08 +0000 (01:05 +0000)]
remove codecs documentation that no longer applies [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 24 Nov 2019 00:51:30 +0000 (00:51 +0000)]
use macro for string size calculation in qt_string_normalize()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 21:52:42 +0000 (21:52 +0000)]
rework ICU codec to avoid relocations during conversion
Ivailo Monev [Sat, 23 Nov 2019 21:45:09 +0000 (21:45 +0000)]
do not ignore buffer-overflow error in ICU text codec
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 19:17:53 +0000 (19:17 +0000)]
remove duplicate header inclusion from qtreewidget_p header
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 18:35:30 +0000 (18:35 +0000)]
verify codec is provided by ICU codec before attempting to create it
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 17:34:21 +0000 (17:34 +0000)]
QSqlQuery test build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 17:32:00 +0000 (17:32 +0000)]
remove now redundant scoping in QMetaType::save() and QMetaType::load()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 17:23:35 +0000 (17:23 +0000)]
fix host lookup from QHostInfo::lookupHost()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 17:20:55 +0000 (17:20 +0000)]
adjust server IPs tests data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 17:20:10 +0000 (17:20 +0000)]
QTestEventLoop cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 15:46:56 +0000 (15:46 +0000)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 15:27:35 +0000 (15:27 +0000)]
deal with QHostInfo FIXME
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 14:28:20 +0000 (14:28 +0000)]
make QHostAddress d pointer actually private
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 12:51:56 +0000 (12:51 +0000)]
remove invalid hostnames from QHostInfo benchmark
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 12:44:41 +0000 (12:44 +0000)]
update QLocale documentation
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 12:28:29 +0000 (12:28 +0000)]
document System and Latin1 text codec names
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 12:10:11 +0000 (12:10 +0000)]
make use of QHostInfo::localHostName() in QSqlDatabase test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 11:54:48 +0000 (11:54 +0000)]
lock before acessing global custom metatypes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 03:54:08 +0000 (03:54 +0000)]
use Q_NULLPTR instead of 0
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 23 Nov 2019 03:53:46 +0000 (03:53 +0000)]
fix possible crash in QMetaType::isRegistered()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>