Commit graph

3119 commits

Author SHA1 Message Date
Ivailo Monev
c1fe58790c falltrough in QEvent::RequestSoftwareInputPanel and QEvent::CloseSoftwareInputPanel case in QApplication::notify()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-30 23:05:20 +00:00
Ivailo Monev
b42eb34e6d mark QCoreApplication warning cases as unlikely
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-30 22:04:46 +00:00
Ivailo Monev
296aab00bf remove unused QXmlSimpleReaderPrivate::emptyStr member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-30 17:12:01 +00:00
Ivailo Monev
79f7b7ebb5 remove unused QDeclarativeScriptEngine::namedNodeMapClass and QDeclarativeScriptEngine::nodeListClass members
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-30 10:13:21 +00:00
Ivailo Monev
a1900b0720 effectively revert c7cc0af760
fixes crashes noted in https://github.com/fluxer/kdelibs/issues/2#issuecomment-579758494
but not the issue with marshalling/demarshalling some complex types

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-30 01:02:37 +00:00
Ivailo Monev
5731abbf80 remove unused QDBusPendingReplyTypes::metaTypeFor<T> argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-29 17:48:11 +00:00
Ivailo Monev
c1c41495ae use foreach() for iteration in qDBusParametersForMethod() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-29 01:22:49 +00:00
Ivailo Monev
a54d9d9820 remove redundant if statement in QDBusConnectionPrivate::prepareHook()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-29 00:45:47 +00:00
Ivailo Monev
8f787f814d fill missing script tag table entries with ISO 15924 codes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 21:50:36 +00:00
Ivailo Monev
2e87db970b remove unused QDBusDemarshaller::close() method
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 21:06:02 +00:00
Ivailo Monev
7134368a18 fix regression since badb333fc3
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 15:55:42 +00:00
Ivailo Monev
780fb9759b replace 0 with Q_NULLPTR in QDBusConnection::asyncCall()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 15:50:55 +00:00
Ivailo Monev
7098f521a9 do not append to iterator if arguments passed to QDBusMarshaller::append() are invalid
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 14:28:43 +00:00
Ivailo Monev
4dcd5db81b add QDBusMarshall and QDBusXmlParser tests
also, effectively revert 474a940c5c
since the method is required for the marshaller test however guard
it with QT_BUILD_INTERNAL definition check

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 13:32:10 +00:00
Ivailo Monev
9f8730914c move default switch case to the bottom in QDeclarativeItemPrivate::computeTransformOrigin()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 12:59:59 +00:00
Ivailo Monev
58da791e72 rework QDeclarativeKeysAttached::keyPressed() signal table lookup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 12:59:23 +00:00
Ivailo Monev
396bf276d6 remove redundant math header inclusion in qdeclarativegridview source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 12:58:35 +00:00
Ivailo Monev
d99435c084 remove unused QDeclarativeGridViewPrivate::fixCurrentVisibility member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 12:58:01 +00:00
Ivailo Monev
7be95c38bf remove unused QDeclarativeBindingPrivate::deleted member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-28 01:45:52 +00:00
Ivailo Monev
6b6c9729e2 remove unused QDeclarativeCompiledData::pack()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 21:56:43 +00:00
Ivailo Monev
bed075f5c4 replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 19:30:08 +00:00
Ivailo Monev
fd20b82de1 use result of ucnv_countAvailable() directly in the loop in QIcuCodec::allCodecs()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 19:07:41 +00:00
Ivailo Monev
7fee4509c8 reuse range object in QRegExpCharClass::in()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 18:46:36 +00:00
Ivailo Monev
dba8b2d52e inline isConfigFunction() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 18:41:23 +00:00
Ivailo Monev
6b7af366b1 remove unused and internal QDBusConnection::internalPointer
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 17:53:41 +00:00
Ivailo Monev
8dd84756a2 include generated findwidget, qtgradienteditor, qtpropertybrowser and qttoolbardialog resource files in source files
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 12:35:41 +00:00
Ivailo Monev
1d77e446cc remove unused form editor cursor images [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-27 11:55:55 +00:00
Ivailo Monev
7de3b1c8f1 fix QAction::setVisible() regression since d504e5d4ad
also update the documentation about group state change that was made with
d504e5d4ad
2020-01-26 22:52:37 +00:00
Ivailo Monev
eada44b207 remove unused qdbus_cast<T>() argument
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 16:42:02 +00:00
Ivailo Monev
474a940c5c remove unused and internal QDBusArgument::appendVariant()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 16:38:35 +00:00
Ivailo Monev
74dc93c4b6 move custom types access closer to the scope it is used in in QMetaType
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 13:16:08 +00:00
Ivailo Monev
a573c906ec correct directory existence check in QCoreApplicationPrivate::appendApplicationPathToLibraryPaths()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 11:25:36 +00:00
Ivailo Monev
27ad676041 rename QFontDatabase tables for consistency
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 11:15:01 +00:00
Ivailo Monev
12848252ec use single variable assignment in loadFc() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 11:09:52 +00:00
Ivailo Monev
e524d6e663 replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-26 10:49:52 +00:00
Ivailo Monev
6cf517267f avoid copy in foreach() loop in QDirIteratorPrivate::matchesFilters() 2020-01-26 09:17:22 +00:00
Ivailo Monev
996edf7e69 avoid temporary and remove always true case in QDir::cleanPath()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-25 23:58:06 +00:00
Ivailo Monev
62da531ca4 fix pending QSettings changes writing
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-25 19:14:11 +00:00
Ivailo Monev
e59d52fc71 remove unused and internal QAbstractFileEngineIterator::entryInfo()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-25 15:44:21 +00:00
Ivailo Monev
621e71e510 remove unused QTextStreamPrivate::stringOpenMode member
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-25 14:37:32 +00:00
Ivailo Monev
079cc389b4 use correct type for argument and return value in qt_timeout_value()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-25 01:28:55 +00:00
Ivailo Monev
8a7c9e784c replace setCloseOnExec() with its body and reuse file descriptor in QFSFileEnginePrivate::nativeOpen() 2020-01-24 23:01:58 +00:00
Ivailo Monev
e32a88f1fe remove unused Q_INFINITY, Q_SNAN and Q_QNAN definitions
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-24 22:44:45 +00:00
Ivailo Monev
79a572c3d4 QLibraryInfo cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-24 22:41:09 +00:00
Ivailo Monev
844cfcc675 avoid copy in createForName() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 20:24:07 +00:00
Ivailo Monev
97ec9a2ab2 remove unused CursorTblSize variable from qcursor_x11 source file
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 18:49:37 +00:00
Ivailo Monev
93b95bfeba replace 0 with Q_NULLPTR where applicable
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 18:35:17 +00:00
Ivailo Monev
c6a58b86dd check status of unw_getcontext() and unw_init_local() in qt_print_backtrace()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 18:14:18 +00:00
Ivailo Monev
b870968b33 introduce support for backtrace on crash via Unwind
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 16:29:42 +00:00
Ivailo Monev
1102ecc943 require MySQL/MariaDB atleast v4.1.13
also check for MariaDB specific config program, header in path suffix and
library name. setting MYSQL_VERSION based on PC_MYSQL_VERSION is no longer
done since it does not report its actual version, e.g. reports 3.1.4 while
it is 10.3.18 (on Debian stable) for an example

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-01-23 15:20:25 +00:00