OSDN Git Service
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>
Ivailo Monev [Sat, 23 Nov 2019 01:33:16 +0000 (01:33 +0000)]
ICU text codec optimizations
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 22 Nov 2019 23:48:18 +0000 (23:48 +0000)]
backport ICU text codec
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 22 Nov 2019 22:41:46 +0000 (22:41 +0000)]
correct cast in linguist loadQM() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 22 Nov 2019 18:34:21 +0000 (18:34 +0000)]
update README [ci skip]
QTBUG-57399 was fixed in
43d7bddc5fcdd5791b7075e929ece823ab09c93c
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 22 Nov 2019 16:16:10 +0000 (16:16 +0000)]
optimize designer components headers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 22 Nov 2019 16:07:27 +0000 (16:07 +0000)]
sync harfbuzz with locale data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 21 Nov 2019 18:18:37 +0000 (18:18 +0000)]
reimplement character properties and character manipulation via ICU
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Thu, 21 Nov 2019 00:12:36 +0000 (00:12 +0000)]
obtain hosts information without threading
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 23:52:33 +0000 (23:52 +0000)]
make use of HOST_NAME_MAX defined in limits.h
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 23:09:11 +0000 (23:09 +0000)]
reimplement qstrtoull() and qstrtoll()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 22:11:33 +0000 (22:11 +0000)]
make QReadWriteLockPrivate::recursive member const
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 22:10:40 +0000 (22:10 +0000)]
use static QChar::isHighSurrogate() and QChar::isLowSurrogate() where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 19:54:29 +0000 (19:54 +0000)]
remove unused and internal QThreadPoolPrivate::startFrontRunnable()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 17:54:11 +0000 (17:54 +0000)]
change list separator too for system locale
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 17:31:52 +0000 (17:31 +0000)]
create a copy of the locale table pointer for system locale
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 16:49:33 +0000 (16:49 +0000)]
inline QUnicodeTables method overloads
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 15:26:28 +0000 (15:26 +0000)]
update .gitignore [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 14:06:24 +0000 (14:06 +0000)]
update translations [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 13:57:08 +0000 (13:57 +0000)]
regenerate manual pages [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 13:47:09 +0000 (13:47 +0000)]
deal with some include directive issues
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 12:15:01 +0000 (12:15 +0000)]
remove QT_NO_STL conditional leftovers
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 12:12:45 +0000 (12:12 +0000)]
adjust QVector benchmarks to recent change
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 03:48:53 +0000 (03:48 +0000)]
update README [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 02:23:14 +0000 (02:23 +0000)]
remove methods to make containers non-implicilty shared
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 02:21:07 +0000 (02:21 +0000)]
remove unused and internal QList::detachShared() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 20 Nov 2019 02:05:58 +0000 (02:05 +0000)]
make comparison operators const where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 19 Nov 2019 17:23:47 +0000 (17:23 +0000)]
add QCryptographicHash algorithms benchamrk
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 19 Nov 2019 02:15:38 +0000 (02:15 +0000)]
remove unused and internal QString::isSimpleText() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 18 Nov 2019 23:02:48 +0000 (23:02 +0000)]
compiler warning fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 18 Nov 2019 21:18:48 +0000 (21:18 +0000)]
remove unused qt_dirtyRegion() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 18 Nov 2019 20:52:57 +0000 (20:52 +0000)]
use correct type for QSpanData transformation type member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 17 Nov 2019 17:39:37 +0000 (17:39 +0000)]
update locale date from CLDR v36
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 17 Nov 2019 01:04:56 +0000 (01:04 +0000)]
remove redundant build-time definitions [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 17 Nov 2019 00:26:30 +0000 (00:26 +0000)]
Revert "remove now obsolete workaround for X11 macros"
This reverts commit
545dc7141b4358d2195e50b077f5db7c722a1088.
Ivailo Monev [Sun, 17 Nov 2019 00:24:00 +0000 (00:24 +0000)]
replace QT_BUILD_CORE_LIB with QT_BOOTSTRAPPED definition checks
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 17 Nov 2019 00:20:10 +0000 (00:20 +0000)]
remove redundant script component pre-processor definition
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Sep 2019 00:34:14 +0000 (00:34 +0000)]
systemLocaleIndex is required for assert even if QT_NO_SYSTEMLOCALE is defined
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 16 Sep 2019 00:21:59 +0000 (00:21 +0000)]
use httpbin.org for network tests
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Sep 2019 01:09:39 +0000 (01:09 +0000)]
QT_NO_THREAD conditional build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Sep 2019 00:53:38 +0000 (00:53 +0000)]
restore behaviour of qt_qhostinfo_lookup() to that prior to
6fbb95f90f59f6ac5b4e8546dd7028c486109152
setting valid pointer to true for non-cached lookups is not expected
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Sep 2019 00:51:59 +0000 (00:51 +0000)]
check receiver before anything else in QHostInfo::lookupHost()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 4 Sep 2019 00:49:42 +0000 (00:49 +0000)]
remove unused info object from QHostInfo::lookupHost()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 20 Aug 2019 19:58:56 +0000 (19:58 +0000)]
fix deadlock in QNetworkConfigurationManagerPrivate::updateConfigurations()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 14 Aug 2019 12:49:06 +0000 (12:49 +0000)]
comments in locales data have served their purpose [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Wed, 14 Aug 2019 12:22:28 +0000 (12:22 +0000)]
longest BCP47 name is 11 characters long now
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 13 Aug 2019 14:50:10 +0000 (14:50 +0000)]
apply supposed fix for QTBUG-59159
it does not actually fix it, the tests are failing
upstream commit:
https://github.com/qt/qtbase/commit/
04b8db3d57970631351fc6330af9553e94f1b14d
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 13 Aug 2019 13:44:22 +0000 (13:44 +0000)]
make use of fromShortMonthName() in QDate::fromString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 13 Aug 2019 13:41:32 +0000 (13:41 +0000)]
avoid temporary in QLocale::toString()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Tue, 13 Aug 2019 10:39:52 +0000 (10:39 +0000)]
Merge branch 'master' of https://github.com/fluxer/katie into locale
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:59 +0000 (10:32 +0000)]
Merge branch 'master' of https://github.com/fluxer/katie into locale
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 [Mon, 12 Aug 2019 23:11:42 +0000 (23:11 +0000)]
effectively revert
215ced5fb8d4fef90c789f67b3581a1b4e72544d
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 21:59:02 +0000 (21:59 +0000)]
all-in-one build fix
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 18:36:47 +0000 (18:36 +0000)]
mark date/time format parsing as likely and use fallthrough
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 17:23:40 +0000 (17:23 +0000)]
avoid temporaries in QLocale::toString() methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 17:23:09 +0000 (17:23 +0000)]
update README
QTBUG-22833 was fixed in:
https://github.com/fluxer/katie/commit/
3c69bcc12b1c245a437c293c9d2d3cd49155dbc5
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 16:39:18 +0000 (16:39 +0000)]
implement timezone date specifier parsing
upstream commit:
https://github.com/qt/qtbase/commit/
68f19fb630dc02463c2d61fc511de7407687795e
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 14:03:38 +0000 (14:03 +0000)]
avoid temporary in QDateTimeParser::sectionFormat()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 12:11:23 +0000 (12:11 +0000)]
ensure genlocale date/time formatter does not produce incorrect results
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 11:46:53 +0000 (11:46 +0000)]
make monday first day in the locale table
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Mon, 12 Aug 2019 00:50:49 +0000 (00:50 +0000)]
handle all invalid cases in genlocale date/time formatter
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 22:21:08 +0000 (22:21 +0000)]
replace QLocalePrivate::Alternate with QLocalePrivate::ForcePoint
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 22:08:29 +0000 (22:08 +0000)]
minor genlocale script review
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 22:08:07 +0000 (22:08 +0000)]
use proper type for QLocale::NumberOptions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 19:01:05 +0000 (19:01 +0000)]
fix corner case locale lookup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 14:15:57 +0000 (14:15 +0000)]
remove redundant default cases from QLocale month/day name getters
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 14:15:17 +0000 (14:15 +0000)]
remove note about windows and mac from QLocale::system()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 14:14:42 +0000 (14:14 +0000)]
prefix use of QLocale enums
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 13:43:32 +0000 (13:43 +0000)]
update README
QTBUG-25143 was fixed in
https://github.com/fluxer/katie/commit/
7cf27b27038305e95de86a729551ed07fa466697
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 13:32:58 +0000 (13:32 +0000)]
minr genlocale script review
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 12:03:33 +0000 (12:03 +0000)]
merge non-territory locales into territory ones in genlocale script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 10:03:56 +0000 (10:03 +0000)]
correct currency ISO code mapping
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 09:48:04 +0000 (09:48 +0000)]
make QLocale::toCurrencyString() respect group separator option
upstream commits:
https://github.com/qt/qtbase/commit/
3c0ac5208111c85c405ba1ee6ce3189a6c4e1236
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 09:27:53 +0000 (09:27 +0000)]
update README
QTBUG-27287 was fixed in
https://github.com/fluxer/katie/commit/
59ab7fd45fd8a2d0f40f53f1a8f21e1cc3602c05
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sun, 11 Aug 2019 09:24:19 +0000 (09:24 +0000)]
fix QLocale::matchingLocales() behavior if script is not AnyScript or country is not AnyCountry
upstream commits:
https://github.com/qt/qtbase/commit/
9b85b81bc82f4e615b5d165425dc9f84fd2ae482
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 10 Aug 2019 20:33:42 +0000 (20:33 +0000)]
make use of tocountryenum() in genlocale script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 10 Aug 2019 20:33:14 +0000 (20:33 +0000)]
make it possible to run locale test from any directory
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 10 Aug 2019 19:15:18 +0000 (19:15 +0000)]
implement subtag, script and country substitution
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 10 Aug 2019 12:17:58 +0000 (12:17 +0000)]
fix negative and zero-padded year formatting
cherry pick from upstream commits:
https://github.com/qt/qtbase/commit/
811bf4da67cedea0daa40f2fff805003687e9d6e
https://github.com/qt/qtbase/commit/
dd488bb7a449822d535ade6c840265ea76535f47
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Sat, 10 Aug 2019 11:37:22 +0000 (11:37 +0000)]
make enums first member of tables structs
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 19:42:23 +0000 (19:42 +0000)]
Merge branch 'master' of https://github.com/fluxer/katie into locale
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 [Fri, 9 Aug 2019 17:54:41 +0000 (17:54 +0000)]
correct expected test data in tst_QLocale::formatDateTime_data()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 17:39:01 +0000 (17:39 +0000)]
implement language alias substitution
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 15:29:13 +0000 (15:29 +0000)]
remove unused locale table data
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 14:52:38 +0000 (14:52 +0000)]
quotation data contains only chars so it can be uint in the locale table
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 14:40:56 +0000 (14:40 +0000)]
adjust expected tests data of tst_QLocale::ctor() and tst_QLocale::uiLanguages()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 14:39:23 +0000 (14:39 +0000)]
fix lookup of different languages with identical script and country
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 13:58:01 +0000 (13:58 +0000)]
remove redundant and unused QLocalePrivate methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
Ivailo Monev [Fri, 9 Aug 2019 13:24:47 +0000 (13:24 +0000)]
avoid shadowing outer-scope variable in qt_splitLocaleName() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>