OSDN Git Service
Ivailo Monev [Wed, 13 Jan 2021 10:47:29 +0000 (12:47 +0200)]
avoid memmove() and memcpy() in QRegionPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 13 Jan 2021 06:39:02 +0000 (08:39 +0200)]
compared with definition in getX11AutoRepeat()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 13 Jan 2021 06:38:37 +0000 (08:38 +0200)]
remove unused QLayoutPrivate::autoNewChild member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 13 Jan 2021 03:45:14 +0000 (05:45 +0200)]
mark warning case in QXmlStreamReader::addData() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 13 Jan 2021 03:44:55 +0000 (05:44 +0200)]
avoid temporaries in QXmlUtils::isPublicID() and QXmlUtils::isNCName()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 16:33:51 +0000 (18:33 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 16:13:41 +0000 (18:13 +0200)]
include string header for memcpy() in qendian header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 14:31:54 +0000 (16:31 +0200)]
de-inline QBuffer::setData() overload for performance reasons
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 13:51:05 +0000 (15:51 +0200)]
properly initialize and delete QImageWriterPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 12:16:06 +0000 (14:16 +0200)]
merge qcommonstylepixmaps_p header into qcommonstyle source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 08:13:01 +0000 (10:13 +0200)]
use correct type for script in qt_addPatternProps() and getFcPattern()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 08:12:28 +0000 (10:12 +0200)]
use correct type for meta type in qNumVariantToHelper<T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 02:53:44 +0000 (04:53 +0200)]
README and CONTRIBUTING typos [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 02:47:07 +0000 (04:47 +0200)]
open new iterator from QTextBoundaryFinder copy-constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 02:39:44 +0000 (04:39 +0200)]
remove unused QPixmapFilter::UserFilter enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 02:38:16 +0000 (04:38 +0200)]
reference count QTextBoundaryFinderPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 12 Jan 2021 01:58:19 +0000 (03:58 +0200)]
properly indent qxbmhandler source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 11 Jan 2021 05:15:00 +0000 (07:15 +0200)]
remove redundant else statements in QNativeSocketEnginePrivate::nativeConnect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 11 Jan 2021 05:14:23 +0000 (07:14 +0200)]
mark QApplication::graphicsSystem() and QApplication::setGraphicsSystem() as deprecated
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 10 Jan 2021 15:39:29 +0000 (17:39 +0200)]
correct comment in plugins build file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 10 Jan 2021 15:38:49 +0000 (17:38 +0200)]
remove now redundant _PATH_RESCONF definition check
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 10 Jan 2021 06:01:42 +0000 (08:01 +0200)]
fix some QCoreApplication/QApplication thread-safety issues
for reference:
https://pubs.opengroup.org/onlinepubs/
9699919799/functions/exec.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 10 Jan 2021 02:50:16 +0000 (04:50 +0200)]
move QT_NO_DEBUG_STREAM override to qconfig header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 10 Jan 2021 02:01:10 +0000 (04:01 +0200)]
note Open Group documentation in CONTRIBUTING file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 10 Jan 2021 01:30:38 +0000 (03:30 +0200)]
eliminate QGraphicsSystem
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 13:52:07 +0000 (15:52 +0200)]
de-duplicate code in QMotifStyle::standardPalette()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 13:48:47 +0000 (15:48 +0200)]
remove unused definition in QMotifStyle::drawPrimitive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 13:41:27 +0000 (15:41 +0200)]
update POT files [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 12:27:53 +0000 (14:27 +0200)]
remove some redundant int constructs
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 11:02:34 +0000 (13:02 +0200)]
fix regression since
b3722d96b0d97638a45d2b40f607eed510d89d41
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 09:46:10 +0000 (11:46 +0200)]
remove non-raster graphics systems support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 09:24:56 +0000 (11:24 +0200)]
remove unused QPixmapData methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 02:35:11 +0000 (04:35 +0200)]
use QImage::constScanLine() where possible in QX11PixmapData
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 00:50:04 +0000 (02:50 +0200)]
add QBuffer test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 9 Jan 2021 00:17:21 +0000 (02:17 +0200)]
copy the result of nl_langinfo()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 13:42:47 +0000 (15:42 +0200)]
implement option to print backtrace on warning message
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 11:39:02 +0000 (13:39 +0200)]
keep QByteArray reference in QProcessPrivate::createChannel()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 11:38:11 +0000 (13:38 +0200)]
store native file path outside loop in QFSFileEngine::open()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 11:17:43 +0000 (13:17 +0200)]
do not undefine listen() from qnet_unix_p header
qt_safe_listen() is no more
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 10:25:03 +0000 (12:25 +0200)]
always use clock_gettime() in QElapsedTimer() and qt_gettime()
upstream commits:
https://github.com/qt/qtbase/commit/
46e2c9441761f75f19b2780e8f1616102128dedd
https://github.com/qt/qtbase/commit/
51ddaabb81ae55d13aaabfdf45ee7db4d7c9bba2
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 07:08:30 +0000 (09:08 +0200)]
bump the minimum to POSIX.1-2001
many POSIX.1-2001 functions are used right now such as strcasecmp(),
strncasecmp(), htonl(), etc.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 06:49:34 +0000 (08:49 +0200)]
fix regression since
9f5d79e38d9268e72cf27e6fb6ea3728811cffd7
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 06:06:35 +0000 (08:06 +0200)]
use plain ushort array in QString streaming operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 8 Jan 2021 01:59:12 +0000 (03:59 +0200)]
minor QColor::isValidColor() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 23:58:49 +0000 (01:58 +0200)]
make it easy to switch source for NetBSD [ci skip]
e.g. setting DISTNAME to version to build stable release or even commit
hash to build specific revision
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 23:56:22 +0000 (01:56 +0200)]
NetBSD pkglint warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 22:31:52 +0000 (00:31 +0200)]
remove redundant QT_BEGIN_HEADER and QT_END_HEADER definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 08:19:33 +0000 (10:19 +0200)]
properly initialize QGifHandler members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 07:51:47 +0000 (09:51 +0200)]
properly initialize QXmlNamespaceSupportPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 07:37:18 +0000 (09:37 +0200)]
initialize QXmlInputSourcePrivate members via constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 07:14:08 +0000 (09:14 +0200)]
properly initialize QDataBuffer members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 07:06:47 +0000 (09:06 +0200)]
properly initialize QPaintDevice member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 05:18:38 +0000 (07:18 +0200)]
optimize QColor construction from Qt::GlobalColor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 05:17:27 +0000 (07:17 +0200)]
use single variable assignment in read_xpm_body()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 04:49:14 +0000 (06:49 +0200)]
use cheaper character comparison in QColor::setNamedColor()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 02:58:16 +0000 (04:58 +0200)]
use loop-local variables in write_xpm_image()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 02:45:46 +0000 (04:45 +0200)]
use qint16 type for KeyNameTblSize
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 02:38:23 +0000 (04:38 +0200)]
remove redundant variable in read_xpm_body()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 02:38:02 +0000 (04:38 +0200)]
correct buffer size in xpm_color_name()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 02:09:37 +0000 (04:09 +0200)]
remove unused variable in qt_read_xpm_array()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 7 Jan 2021 01:56:13 +0000 (03:56 +0200)]
replace QXpmHandler::readImage() with its body
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 23:51:06 +0000 (01:51 +0200)]
remove unused qMetaTypeId<T>() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 23:50:35 +0000 (01:50 +0200)]
remove unused QMetaTypeId2<T>::MetaType enum
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 23:14:42 +0000 (01:14 +0200)]
top-level CMake file review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 12:58:15 +0000 (14:58 +0200)]
use plain integer in QMetaTypeId<T>::qt_metatype_id() lazy initializer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 10:48:21 +0000 (12:48 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 10:04:45 +0000 (12:04 +0200)]
rename qt_read_xpm_image_or_array() so that the function name implies what it does
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 09:58:42 +0000 (11:58 +0200)]
properly initialize QImage member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 09:46:37 +0000 (11:46 +0200)]
use constant iterator in write_xpm_image()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 09:41:14 +0000 (11:41 +0200)]
mark warning cases in QXpmHandler as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 09:27:11 +0000 (11:27 +0200)]
remove unused qt_read_xpm_image_or_array() argument
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 09:14:52 +0000 (11:14 +0200)]
eliminate 2 duplicate switch statements in QMotifStyle::standardPixmap()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:39:15 +0000 (10:39 +0200)]
remove some win and mac leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:34:25 +0000 (10:34 +0200)]
make some header guards consistent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:33:56 +0000 (10:33 +0200)]
assume DBUS_TYPE_UNIX_FD is defined in D-Bus marshaller test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:33:29 +0000 (10:33 +0200)]
remove redundant qglobal header inclusion in qdeclarativelist header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:32:04 +0000 (10:32 +0200)]
remove mac and xlc support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:31:25 +0000 (10:31 +0200)]
do not undefine MAP in qtransform source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 08:09:56 +0000 (10:09 +0200)]
assume DBL_DIG and FLT_DIG are defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 07:12:40 +0000 (09:12 +0200)]
use compiler built-ins for byte swapping
for reference:
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
https://clang.llvm.org/docs/LanguageExtensions.html
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 05:32:48 +0000 (07:32 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 05:10:54 +0000 (07:10 +0200)]
compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 05:07:11 +0000 (07:07 +0200)]
remove unused QT_TRANSFER_TIMEOUT definition
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 05:04:46 +0000 (07:04 +0200)]
properly initialize QtSharedPointer::ExternalRefCountData members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 03:23:11 +0000 (05:23 +0200)]
move startup message to QWidgetPrivate::sendStartupMessage()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 6 Jan 2021 00:01:54 +0000 (02:01 +0200)]
update link in QMessageBox
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 23:10:35 +0000 (01:10 +0200)]
include rscpath only if resource will be generated from katie_setup_target()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:55:14 +0000 (00:55 +0200)]
remove redundant qhash header inclusion in qt_x11_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:54:55 +0000 (00:54 +0200)]
oops, fix Fedora package file format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:16:48 +0000 (00:16 +0200)]
set a bit more restrictive permissions for the scripts
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 22:01:32 +0000 (00:01 +0200)]
use the widget X11 information to query depth in QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 21:29:48 +0000 (23:29 +0200)]
properly initialize QDomNode and QDomImplementation members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 21:10:36 +0000 (23:10 +0200)]
mark QSqlQuery warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 21:10:04 +0000 (23:10 +0200)]
correct condition for use of qt_x11_drawImage() in QRasterWindowSurface::flush()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 20:21:44 +0000 (22:21 +0200)]
static analyzer warnings fixes
upstream commits:
https://github.com/qt/qtbase/commit/
e277575987657aa07444eea9bee99769f039d3b0
https://github.com/qt/qtbase/commit/
600b7bfa89e560cd23a7586e8f8c4393dd5aca05
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 18:37:32 +0000 (20:37 +0200)]
Revert "mark non-inline drawing blend/gradient/blit helpers as fast functions"
This reverts commit
a9e40f64c65e344bb134a1c8753cbc2d1badac95.
Ivailo Monev [Tue, 5 Jan 2021 09:15:56 +0000 (11:15 +0200)]
prefix feof() call in QFile benchmark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 09:07:16 +0000 (11:07 +0200)]
crash if posix_memalign() fails in Heap::allocateBlock()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 08:19:45 +0000 (10:19 +0200)]
disable some spurious compiler warnings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 5 Jan 2021 07:45:31 +0000 (09:45 +0200)]
properly initialize QGlobalNetworkProxy members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>