Commit graph

61 commits

Author SHA1 Message Date
Ivailo Monev
0e16676993 kinit: set the ASN binary to the program filename
altough the complete program path is more informative, setting it to the
filename only matches the old behaviour

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 01:19:28 +02:00
Ivailo Monev
ca2af71922 kinit: check if absolute paths exists from KLauncherAdaptor::findExe()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 01:01:08 +02:00
Ivailo Monev
ac048407c3 kinit: cache the QDBusConnectionInterface
it will not change because the connection is persistent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-05 00:39:08 +02:00
Ivailo Monev
aa6b5ea4f0 kinit: klauncher and KCrash rewrite
much simpler and easier to maintain, also it will be proper D-Bus
service now with no sockets, process title hack and whatnot. KCrash
and startkde script (in kde-workspace repo) have to be adjusted for
it tho

note that the internal KIO scheduler already has the functionality to
put slaves on hold but now they will be started as detached process.
eventually they may become plugins (they are loaded as such by kioslave
program) without event loop dispatcher

fixes application startup notification (ASN) and cleanup issues

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-04 23:20:15 +02:00
Ivailo Monev
efbc9556a6 generic: remove unused org.kde.KLauncher.exec_blind() overload
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 07:06:15 +03:00
Ivailo Monev
b690586b3d generic: remove deprecated org.kde.KLauncher.start_service_by_name() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 06:31:55 +03:00
Ivailo Monev
a0547d6810 generic: fix possible PID clamping
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-04 01:48:39 +02:00
Ivailo Monev
190fbddbbe generic: misc cleanups 2015-10-17 10:38:24 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03: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
814163a8dc initial import 2014-11-13 01:04:59 +02:00