Ivailo Monev
d19b0a6ce4
drop support for static plugins
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-23 16:05:40 +00:00
Ivailo Monev
03e46bb6d4
fix loading of plugins with a relative file name
...
the libraries path was missing from the list returned by
QCoreApplication::libraryPaths() which as stated in its documentation
is used when dynamically loading libraries so that's also fixed with this
change and is required for the libraries lookup.
obviously, QLibraryPrivate::findOrCreate() was not looking for libraries at
all despite the function name so code for that had to be moved from
QLibraryPrivate::load_sys() which makes it possible to load not only plugins
but also library with relative file name.
support for QLibrary::LoadHint::LoadArchiveMemberHint was dropped in the
process, QLibrary::LoadHint::ImprovedSearchHeuristics is not used thus
removed.
in the future QCoreApplication::pluginPaths() may be added to separate the
library/plugin paths but for now compatibility with projects expecting it
to return plugin paths will be kept. when that is done
QCoreApplication::libraryPaths() will check LD_LIBRARY_PATH instead of
QT_PLUGIN_PATH environment variable.
upstream commit:
418890e074
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-22 20:06:09 +00:00
Ivailo Monev
fe4a02e38c
remove redundant condition in QFileInfoPrivate::getFileName()
...
if the string is null, setting it to empty is will only change its
reference to shared empty
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-22 18:44:17 +00:00
Ivailo Monev
cdfd13e6dc
inline qstrcmp() function for performance reasons
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-20 02:37:28 +00:00
Ivailo Monev
c846262c20
silence dpkg-gensymbols during packaging [ci skip]
...
otherwise it dumps ~30k lines of symbols everytime a fresh package is build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-19 21:30:32 +00:00
Ivailo Monev
e9cbcbb50c
remove <MODULE>_FIND_QUIETLY overrides from CMake modules
...
since find_package_handle_standard_args() is used and no status messages
are printed by the modules there is no reason to set <MODULE>_FIND_QUIETLY
variable (which should be prefixed with the actual module name, not upper
case)
2020-02-19 20:57:22 +00:00
Ivailo Monev
89d52f7abb
do not append application path to library paths
...
this was used for dll/bundles support most likely, on UNIX however adding
it to the library paths is incorrect. The runtime path (RPATH) hardcoded
into libraries/binaries should be searched instead however that is not
supported and removed by most distributions on purpose.
with this change application startup time is reduced by a lot since the
binary paths (/bin, /sbin, etc.) do not have to be listed which usually
contain large number of binaries and even symbolic/hard links
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-17 18:11:35 +00:00
Ivailo Monev
2622c69097
create leading directories of settings filepath
...
for compatibility with code expecting it to be created
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-16 15:46:11 +00:00
Ivailo Monev
db53ab28e4
prefix standard function calls in qt_print_backtrace()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-15 19:43:05 +00:00
Ivailo Monev
f247500ebd
indent QNetworkReplyImplPrivate::_q_networkSessionConnected()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-15 19:15:47 +00:00
Ivailo Monev
3220d781e2
remove unused registerHelper<T>() argument
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-15 19:15:24 +00:00
Ivailo Monev
4389317a27
remove qlocalserver_tcp source file
...
used for symbian, wince and integrity which are no longer supported
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-14 01:54:26 +00:00
Ivailo Monev
7dff007bd2
replace 0 with Q_NULLPTR where applicable
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 20:05:09 +00:00
Ivailo Monev
331fc2f864
use foreach() for iteration in QThread::exit()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 19:46:49 +00:00
Ivailo Monev
9fc15a2ce2
remove unused QtFontFamily::synthetic member
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 16:55:35 +00:00
Ivailo Monev
ebb2f4f963
remove unused qt_fallback_font_family() and qt_x11_set_fallback_font_family()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 16:45:24 +00:00
Ivailo Monev
9d7518db6b
remove abstract file handler support leftovers
...
no longer supported since e02ce5c0e0
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 16:44:43 +00:00
Ivailo Monev
89e2819b29
use custom CMake module for PostgreSQL
...
the module CMake provides cannot detect it in Travis
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-13 14:31:25 +00:00
Ivailo Monev
53de5dc0f6
drop QSqlDriverCreator support
...
it is prone to race condition and not used, if anyone wants to add
driver it should really be a plugin
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-12 16:43:01 +00:00
Ivailo Monev
7604ec7bf6
remove WITH_PNG AND WITH_SQLITE options, build SQLite driver into KtSql module
...
both are not really optional, that is why internal copies of the PNG and
SQLite projects sources are bundled.
by making the SQLite SQL driver built-in the plasma-desktop process
memory usage was reduced by roughly 4MB.
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-12 16:09:13 +00:00
Ivailo Monev
392ba35497
replace 0 with Q_NULLPTR where applicable
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-12 15:34:06 +00:00
Ivailo Monev
e323838a8a
remove unused QDeclarativeJS::NodePool::m_codeCache member
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-12 00:29:36 +00:00
Ivailo Monev
aa060a9164
get rid of QFileIconProviderPrivate
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-12 00:18:48 +00:00
Ivailo Monev
152963af0f
remove redundant condition in QIconTheme::QIconTheme()
...
fallback theme is hicolor
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-11 19:46:15 +00:00
Ivailo Monev
66d0eca33b
use foreach() for iteration in QIconLoader::findIconHelper()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-11 19:45:17 +00:00
Ivailo Monev
ddb58cc088
use CLOCK_MONOTONIC_COARSE if available in do_gettime()
...
used by jemalloc for an example, as for the exact precision lose it is not
clear what it is from the clock_gettime() manual page. it is not clear from
the patch posted at https://lwn.net/Articles/347811/ nor from the commit
message at https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/time.h?h=v5.6-rc1&id=da15cfdae03351c689736f8d142618592e3cebc3
either.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/using_coarse_posix_clocks_for_application_timestamping
claims that it is 1ms which seems like a good trade-off to me
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-11 19:18:30 +00:00
Ivailo Monev
e19b75a9fb
update QSettings group methods documentation
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-11 01:02:13 +00:00
Ivailo Monev
93efd5ac51
session management requires X11 ICE extension in addition to SM
...
while at it, remove X11_LIBRARIES from the list of additional libraries
of KtGui component to avoid overlinking
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-11 00:55:15 +00:00
Ivailo Monev
ab15bbf194
remove compatibility Qt::Modifier::UNICODE_ACCEL enum
...
upstream commit:
bc6ad75d18
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 22:13:39 +00:00
Ivailo Monev
10e3749d4a
rewrite CMake modules to use pkg-config search first and fallback to path lookup
...
reducec the configuration/build time
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 21:22:25 +00:00
Ivailo Monev
8fb3224ff8
replace 0 with Q_NULLPTR in QSharedDataPointer and QExplicitlySharedDataPointer
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 17:38:56 +00:00
Ivailo Monev
5df7658d86
remove CPack related variables, CPack will not be supported
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 17:38:30 +00:00
Ivailo Monev
c34d02d4a9
optimize QString::multiArg()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-10 14:55:45 +00:00
Ivailo Monev
d2da7137d2
include qdbus in KATIE_TOOLS variable
...
it was not included because it was not needed for the Qt4 compatibility
variables but can be used to solve https://github.com/fluxer/kdelibs/issues/3
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 23:49:50 +00:00
Ivailo Monev
12dda308ec
QString benchmark build fix
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 12:57:19 +00:00
Ivailo Monev
5688c9a1a5
Revert "set invalid characters count of state even on success from QIcuCodec::convertFromUnicode() and QIcuCodec::convertToUnicode()"
...
This reverts commit 92a7dfc214
.
2020-02-08 00:29:26 +00:00
Ivailo Monev
52a68b98d3
remove bogus QString benchmarks
...
not benchmarking any of the public QString methods
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 23:58:39 +00:00
Ivailo Monev
92a7dfc214
set invalid characters count of state even on success from QIcuCodec::convertFromUnicode() and QIcuCodec::convertToUnicode()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 21:31:45 +00:00
Ivailo Monev
015f5ee0bd
remove unused QTextCodec::ConverterState::remainingChars member
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 21:30:18 +00:00
Ivailo Monev
858e0c5de4
use custom table for grahpeme break in QUnicodeTables::graphemeBreak()
...
gets rid of the ICU requirement for the GUI component and since HarfBuzz
does not support all grapheme breaks makes it more optimal
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 21:04:47 +00:00
Ivailo Monev
0a63b765da
use constructor instead of cast in QChar::fromAscii()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 22:28:55 +02:00
Ivailo Monev
932da899d9
set compat definitions as component interface definitions
...
this fixes the QIcon::name() check done during libdbusmenu-qt build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 13:25:29 +00:00
Ivailo Monev
63237342e0
fix regression since c7c7f41c2b
...
fixes loading of icons via QIcon::fromTheme() and partially
libdbusmenu-qt DBusMenuExporterTest test
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 00:37:58 +00:00
Ivailo Monev
09882da855
make QIconLoader::key() public
...
it is virtual override and is used in QIcon data streaming operators
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-06 22:20:42 +00:00
Ivailo Monev
6e14c6bb83
remove unused QIconLoaderEngine::hasIcon()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-06 21:21:05 +00:00
Ivailo Monev
179376e6c1
avoid temporaries in QIconTheme::QIconTheme()
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-06 21:19:54 +00:00
Ivailo Monev
93084f8d27
Merge branch 'master' of https://github.com/fluxer/katie
2020-02-04 17:26:24 +00:00
Ivailo Monev
31d2bd274c
add custom type test case for QSettings
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-04 16:22:33 +00:00
FredBezies
a035702349
4.9.0-rc18 update
...
Upgrade to new pre-release version.
2020-02-04 10:33:29 +01:00
Ivailo Monev
ea38d0cef5
compiler warning fix
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-03 23:31:32 +00:00