Commit graph

18 commits

Author SHA1 Message Date
Ivailo Monev
3ad6579891 kdecore: findLibraryInternal() function optimization
by checking if the unmodified (by makeLibName()) name is absolute first and
by not checking for relative library (if the name is not absolute path
QFileInfo::path() would return "." resulting in a relative lookup for
the library by KStandardDirs::findResource() in "lib" resource) the most
common cases are only looked for by KPluginLoader (either absolute path,
relative module or library but not relative to the current directory)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-11 18:02:33 +03:00
Ivailo Monev
fe00f4058f kdecore: remove TODO related to KPluginLoader
the property shall not be removed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-11 17:27:32 +03:00
Ivailo Monev
59b1d3da2d kdecore: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-11 17:14:38 +03:00
Ivailo Monev
623cc24741 kdecore: remove now unused KPluginLoader::pluginVersion() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-30 18:59:56 +03:00
Ivailo Monev
f8a872e6b5 kdecore: .sl libraries are not supported
for reference:
ebe43fe053

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-30 18:23:45 +03:00
Ivailo Monev
63ee7ca624 kdecore: get rid of ambigous KPluginLoader::load()
fixes incorrect warnings about incompatible plasma plugins version

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-17 06:20:28 +02:00
Ivailo Monev
db934386d1 kdecore: remove redundant fallback to QLibrary
QPluginLoader is implemented via QLibrary internals

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 15:49:59 +00:00
Ivailo Monev
1abbeeaf21 kdecore: shrink the size of KPluginLoaderPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 04:49:57 +00:00
Ivailo Monev
680975fed8 generic: use the version from verification data for plugins
no additional symbol resolution will be performed that way and most plugins
(except one, GeolocationProvider) use KDE_VERSION anyway

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-26 03:46:01 +00:00
Ivailo Monev
dcc373b2c8 kdecore: mark findLibraryInternal() function static
use single variable assignment while at it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-25 17:39:50 +00:00
Ivailo Monev
5d2d39e853 generic: drop support for operating systems Katie does not support
replace internal definitions with Q_OS_<OS> alternatives checks while at it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-25 04:48:18 +02:00
Ivailo Monev
376484dff8 generic: get rid of KLibrary
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-05 03:36:21 +02:00
Ivailo Monev
a9e96a38b0 generic: drop Q_CC_MSVC conditionals 2015-09-25 04:08:21 +00:00
Ivailo Monev
83ac368076 generic: cleanups remains of kdeinit-wrapped executables 2015-09-06 15:33:03 +03:00
Ivailo Monev
5333e9917d generic: remove deprecated API 2015-02-28 03:27:54 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
b99fa1400b more windows code remove 2014-11-19 15:19:19 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00