OSDN Git Service
Ivailo Monev [Fri, 27 Nov 2020 03:25:40 +0000 (03:25 +0000)]
remove unused linguist classes, typedefs and function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 03:24:52 +0000 (03:24 +0000)]
mark QTranslator::translate() as virtual
when the overload was merged as per the TODO virtual specifier was not
added by mistake
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 02:13:48 +0000 (02:13 +0000)]
fix possible sm_performSaveYourself() thread-safety issue
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 01:23:41 +0000 (01:23 +0000)]
check for pthread_stackseg_np() during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 01:14:22 +0000 (01:14 +0000)]
OpenBSD build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 01:01:59 +0000 (01:01 +0000)]
use arc4random() in qrand() if available
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 27 Nov 2020 00:47:34 +0000 (00:47 +0000)]
pass CMAKE_THREAD_LIBS_INIT to pthread_attr_get_np() test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 20:55:08 +0000 (20:55 +0000)]
remove unused QThreadData::clearCurrentThreadData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 19:46:05 +0000 (19:46 +0000)]
remove stub QNetworkSessionPrivate::setALREnabled()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 19:36:18 +0000 (19:36 +0000)]
remove unused set_font_bits() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 19:35:53 +0000 (19:35 +0000)]
avoid branch in QFontPrivate constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 18:58:50 +0000 (18:58 +0000)]
fix some QByteArrayMatcher and QStringMatcher bugs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 18:05:58 +0000 (18:05 +0000)]
set correct Section type for QDateTimeParser::last
upstream commit:
https://github.com/qt/qtbase/commit/
c459ea84c4abb1bc68bc76dbbd4889a0f5bf4125
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 17:39:24 +0000 (17:39 +0000)]
remove unused QDateTimeParser member and enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 17:18:56 +0000 (17:18 +0000)]
do not handle NAN and INFINITY explicitly in QLocalePrivate::bytearrayToDouble()
std::strtod() should support such cases, even case-insensitive occurences
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 16:10:11 +0000 (16:10 +0000)]
remove redundant QT_PLUGIN definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 15:56:09 +0000 (15:56 +0000)]
effectively revert
26bf3aacd32f9ceda5a45c8114f0f50260ac120e
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 02:01:53 +0000 (02:01 +0000)]
make use of dbus_signature_validate() and dbus_signature_validate_single()
both methods are available in atleast D-Bus v0.32 and v1.5.12 is
required so no reason not to do that
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
asd
Ivailo Monev [Thu, 26 Nov 2020 01:12:21 +0000 (01:12 +0000)]
prefix getpagesize() call in Heap::allocateBlock()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 00:38:49 +0000 (00:38 +0000)]
remove unused QBearerEngine members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 26 Nov 2020 00:27:54 +0000 (00:27 +0000)]
make use of Q_DECL_ALIGN() and Q_ALIGNOF() in JSC
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 23:37:10 +0000 (23:37 +0000)]
get rid of QTDIR environment variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 23:12:43 +0000 (23:12 +0000)]
invoke make from minsize.sh and debug.sh in FreeBSD and Solari compatible way
FreeBSD does not have `nproc` and Solaris (OpenIndiana) uses dmake which
requires space separator to recognize the jobs argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:54:08 +0000 (22:54 +0000)]
remove the condition for system proxies support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:42:03 +0000 (22:42 +0000)]
update tables data to CLDR v38
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:29:37 +0000 (22:29 +0000)]
do not export QSettingsPrivate for test builds
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 22:26:39 +0000 (22:26 +0000)]
remove unused internal build functionality
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 16:21:23 +0000 (16:21 +0000)]
pass any extra crossdeb.sh arguments to debootstrap
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 15:38:59 +0000 (15:38 +0000)]
check for timegm(), tm.tm_gmtoff and tm.tm_zone during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 15:13:42 +0000 (15:13 +0000)]
check for posix_memalign(), pthread_attr_get_np() and madvise() during build
replace mmap() calls with QT_MMAP() so that mmap64() is called when
supported by the host while at it and remove conditions that are
assumed to always be true
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 02:36:33 +0000 (02:36 +0000)]
remove redundant QDir forward declaration in qsslsocket header and obsolete TODO
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 25 Nov 2020 00:28:24 +0000 (00:28 +0000)]
replace qstrtod(), qstrtoll() and qstrtoull() with their body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 21:12:06 +0000 (21:12 +0000)]
update README
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 18:14:33 +0000 (18:14 +0000)]
do not enable madvise() use on Hurd for JSC
Hurd does not have MAD_FREE
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 18:04:33 +0000 (18:04 +0000)]
ignore build directory on Debian GNU/Hurd
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 17:53:28 +0000 (17:53 +0000)]
do not enable madvise() use on Solaris for JSC
not available if _POSIX_C_SOURCE > 2 or _XPG4_2 is defined which is the
default on OpenIndiana
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 16:57:44 +0000 (16:57 +0000)]
remove unused QT_NO_ARM_EABI definiton
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 16:31:33 +0000 (16:31 +0000)]
get rid of QT_LINUXBASE
note that arpa/inet.h is included in qnet_unix_p header unconditionally
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 16:14:38 +0000 (16:14 +0000)]
remove obsolete IsKeypadKey and IsPrivateKeypadKey workaround
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 15:57:30 +0000 (15:57 +0000)]
replace QT_LINUXBASE with FT_ERRORS_H definition check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 15:45:56 +0000 (15:45 +0000)]
remove redundant Q_OS_BSD4 definiton from qglobal header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 14:55:11 +0000 (14:55 +0000)]
review JSC platform defines
all supported operating systems have posix_memalign() declaration but
its use was enabled only for Haiku originally, now it will be used on
all of them
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 14:24:54 +0000 (14:24 +0000)]
use single variable assignment in QHttpNetworkReplyPrivate::readBodyVeryFast()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:40:09 +0000 (13:40 +0000)]
remove declaration of non-existing QApplicationPrivate::isAlien()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:31:08 +0000 (13:31 +0000)]
remove unused QApplicationPrivate::widgetCount member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:22:03 +0000 (13:22 +0000)]
remove unused QApplicationPrivate::tryModalHelper() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:18:38 +0000 (13:18 +0000)]
remove unused qt_tryModalHelper()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:15:53 +0000 (13:15 +0000)]
remove declaration of non-existing QApplicationPrivate::x11_initialize_style()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 13:05:18 +0000 (13:05 +0000)]
remove unused BeginPaintInfo::windowSurfaceRecreated member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 12:20:09 +0000 (12:20 +0000)]
QImageReader test review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 24 Nov 2020 12:14:48 +0000 (12:14 +0000)]
undefine ISLESS macro once it is not needed in quuid source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 22:30:58 +0000 (22:30 +0000)]
eliminate main thread store
fixes RCC runtime crash on NetBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 21:40:54 +0000 (21:40 +0000)]
remove stub declaration of non-existing QThreadPrivate::setCurrentThread()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 19:19:02 +0000 (19:19 +0000)]
QKqueueFileSystemWatcherEngine review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 17:09:54 +0000 (17:09 +0000)]
big endian build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 14:02:38 +0000 (14:02 +0000)]
avoid temporaries in QLocalSocketPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 14:02:24 +0000 (14:02 +0000)]
rework named paper size table lookup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 13:50:38 +0000 (13:50 +0000)]
use static objects for mutexes in JSC
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 03:32:21 +0000 (03:32 +0000)]
deal with TODOs in QAbstractSocket
upstream commits:
https://github.com/qt/qtbase/commit/
4669d657d29ae883db746b7cbfed367758943ee9
https://github.com/qt/qtbase/commit/
b5f2dd65ac0bec4f40ab22464a243b1ac06e294b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 03:03:57 +0000 (03:03 +0000)]
prefix function calls in qnetworkinterface_unix source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 02:54:46 +0000 (02:54 +0000)]
prefix select() and times() function calls
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 23 Nov 2020 02:54:29 +0000 (02:54 +0000)]
build fix for the case when QT_HAVE_GETIFADDRS is not defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 19:02:17 +0000 (19:02 +0000)]
remove redundant QFileSystemEngine::isCaseSensitive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 19:01:59 +0000 (19:01 +0000)]
remove unused QFileInfoGatherer members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 16:43:23 +0000 (16:43 +0000)]
remove TODO from mkspecs file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 16:23:49 +0000 (16:23 +0000)]
avoid QByteArray conversion in QDomDocumentPrivate::saveDocument()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 06:35:44 +0000 (06:35 +0000)]
Solaris build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 04:47:02 +0000 (04:47 +0000)]
correct deref conditions in ExceptionHolder and QFontCache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 03:40:07 +0000 (03:40 +0000)]
remove irix leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 03:20:20 +0000 (03:20 +0000)]
optimize qstrtoull(), qstrtoll() and qstrtod()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 22 Nov 2020 03:19:51 +0000 (03:19 +0000)]
remove unused qIsAlnum() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 00:59:59 +0000 (00:59 +0000)]
drop valgrind support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 00:01:40 +0000 (00:01 +0000)]
rework JSC endian and bitness detection
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 20 Nov 2020 23:42:19 +0000 (23:42 +0000)]
merge QT_BOOTSTRAPPED definition conditionals in qmetatype source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 20 Nov 2020 23:15:31 +0000 (23:15 +0000)]
replace gettimeofday() with time() call in qrand()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 20 Nov 2020 23:09:49 +0000 (23:09 +0000)]
remove redundant CheckIncludeFile inclusion in main CMake file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 20 Nov 2020 21:21:53 +0000 (21:21 +0000)]
assume <sys/time.h> is available
already used in many places unconditionally
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 20 Nov 2020 21:18:56 +0000 (21:18 +0000)]
do not pass -tickcounter to tests
support for it is optional and it may not be available
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 20 Nov 2020 19:43:42 +0000 (19:43 +0000)]
Revert "prefix htonl() calls in QHostAddress"
This reverts commit
2f277f2e0c0563426c95d639e5ae4b90d051ef40.
Ivailo Monev [Sat, 21 Nov 2020 02:31:32 +0000 (02:31 +0000)]
remove redundant headers inclusions in qglobal source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 02:24:09 +0000 (02:24 +0000)]
remove unused LGPLv21 license and header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 02:04:27 +0000 (02:04 +0000)]
seed via gettimeofday() directly in qrand()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 02:03:21 +0000 (02:03 +0000)]
avoid temporaries in QTime, QDate and QDateTime
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 01:40:42 +0000 (01:40 +0000)]
remove documentation for now gone typedefs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 21 Nov 2020 01:31:04 +0000 (01:31 +0000)]
prefix htonl() calls in QHostAddress
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 22:59:03 +0000 (00:59 +0200)]
remove redundant Debian package rules overrides
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 22:49:28 +0000 (00:49 +0200)]
deal with TODO in qdbus manual page
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 22:42:34 +0000 (00:42 +0200)]
remove redundant object targets definitions setup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 22:22:01 +0000 (00:22 +0200)]
review messages in KatieBuildMacros file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 13:04:13 +0000 (15:04 +0200)]
make unifdef optional for building Debian package
when cross-building it is not required and the formula <!cross> simply does
not work so use a trick to depend on other package instead. on a side note
the package cannot be installed even tho it is in the main pool of the
architectures I am testing on
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 12:46:30 +0000 (14:46 +0200)]
replace QT_NO_GEOM_VARIANT with QT_BOOTSTRAPPED
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 12:17:09 +0000 (14:17 +0200)]
add crossdeb.sh [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 11:20:24 +0000 (13:20 +0200)]
introduce AArch64 support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 10:00:06 +0000 (12:00 +0200)]
build on all supported Travis architectures
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 19 Nov 2020 01:15:53 +0000 (03:15 +0200)]
remove FDL from licenses in package files
used only for the .doc files which are not installed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 18 Nov 2020 23:18:24 +0000 (01:18 +0200)]
reimplement qSNaN(), qQNaN() and qInf() via std::numeric_limits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 17 Nov 2020 23:58:35 +0000 (01:58 +0200)]
get rid of qt_noop()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 17 Nov 2020 23:41:47 +0000 (01:41 +0200)]
get rid of q_check_ptr()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 17 Nov 2020 23:13:57 +0000 (01:13 +0200)]
debug type build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 17 Nov 2020 22:58:56 +0000 (00:58 +0200)]
check for vsnprintf() during build
QT_SNPRINTF and QT_VSNPRINTF should not be used directly thus removing them
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>