OSDN Git Service
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>
Ivailo Monev [Tue, 17 Nov 2020 14:50:21 +0000 (16:50 +0200)]
qconfig header review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 16 Nov 2020 22:12:44 +0000 (00:12 +0200)]
check for clock_gettime() during build
using it as general monotonic clock availability check, while at it use
CLOCK_REALTIME_COARSE if defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 16 Nov 2020 21:34:16 +0000 (23:34 +0200)]
check for getaddrinfo() during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 16 Nov 2020 21:27:04 +0000 (23:27 +0200)]
check for getifaddrs() during build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 16 Nov 2020 20:32:40 +0000 (22:32 +0200)]
use correct latin string conversion method in qt_socket_getPortAndAddress()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 16 Nov 2020 20:30:47 +0000 (22:30 +0200)]
do not use own structs for sockaddr_sstorage and sockaddr_in6
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 21:38:50 +0000 (23:38 +0200)]
remove redundant inclusions in KatieBUildMacros file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 21:29:31 +0000 (23:29 +0200)]
JSC FastMalloc cleanup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 20:53:31 +0000 (22:53 +0200)]
remove mac leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 20:37:29 +0000 (22:37 +0200)]
get rid of JSC WeakRandom
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 14:58:59 +0000 (16:58 +0200)]
merge JSC ThreadingQt into Threading source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 14:24:03 +0000 (16:24 +0200)]
reduce build time for systems without LFS
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 14:12:10 +0000 (16:12 +0200)]
prefix standard function calls in qhostinfo_unix source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 14:11:51 +0000 (16:11 +0200)]
mark MinimumFlickVelocity variable as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 15 Nov 2020 00:02:18 +0000 (02:02 +0200)]
JSC threading cleanup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Nov 2020 23:31:51 +0000 (01:31 +0200)]
remove unused JSC extras
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Nov 2020 15:57:19 +0000 (17:57 +0200)]
NetBSD build fix
apparently the signature of pthread_setname_np() is different than the one
documented in the Linux man page for it:
https://man7.org/linux/man-pages/man3/pthread_setname_np.3.html
https://man.netbsd.org/pthread_setname_np.3
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Nov 2020 15:28:12 +0000 (17:28 +0200)]
fix checking for definitions via katie_check_defined() for rare cases
in case the function reference does something strange, that is the case
for pthread_setname_np(), and the return value from the executable is not 0
even tho the source was compiled and linked successfully just return 0
(success) before even attempting to print reference to the function.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 13 Nov 2020 08:26:07 +0000 (10:26 +0200)]
remove redundant default case in s5StateToString() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 13 Nov 2020 08:25:51 +0000 (10:25 +0200)]
cache latin string conversion in QLocalServerPrivate::listen()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 12 Nov 2020 17:06:19 +0000 (19:06 +0200)]
remove redundant pre-processor checks
SIOCGIFNAME and SIOCGIFHWADDR are not documented as appearing in certain
versions of standards or Linux versions thus I assume they should be
defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 13:39:37 +0000 (15:39 +0200)]
avoid temporary in QX11Data::isSupportedByWM()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 12:54:37 +0000 (14:54 +0200)]
remove unused qt_safe_socket() and qt_safe_accept() arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 12:44:55 +0000 (14:44 +0200)]
remove unused _XSETROOT_ID X11 atom from the table
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 12:31:00 +0000 (14:31 +0200)]
benchmark build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 12:15:38 +0000 (14:15 +0200)]
remove now unused setCurrentThreadName() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 12:05:31 +0000 (14:05 +0200)]
use exclusive branches in QFSFileEngine::extension()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 12:05:07 +0000 (14:05 +0200)]
benchmark build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 04:26:13 +0000 (06:26 +0200)]
implement thread name setting for NetBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 11 Nov 2020 00:21:13 +0000 (02:21 +0200)]
make QBuffer::bytesAvailable() work
upstream commit:
https://github.com/qt/qtbase/commit/
b4ce49287f9f8407e89f1e4485cc166368306c77
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 10 Nov 2020 09:55:19 +0000 (11:55 +0200)]
NetBSD and OpenBSD build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Nov 2020 09:05:16 +0000 (11:05 +0200)]
javascriptcore platform definitions cleanup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Nov 2020 07:55:12 +0000 (09:55 +0200)]
build without MySQL support in Travis
SQL test segmentation faults and even backtrace is not printed (with unwind
support enabled), not going to debug that
while at it, adjust to changes in Travis config format. no idea what packages
does, not much info at https://config.travis-ci.com/ref/job/cache
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 9 Nov 2020 07:46:44 +0000 (09:46 +0200)]
avoid possible recursion in QLocalePrivate::findLocale()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>