Ivailo Monev
38e370d475
kdeui: new KApplication::quitOnDisconnected() method, also setup quit signal handler by default
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-23 15:09:48 +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
9b41127ecb
generic: prepare for Katie changes
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-13 00:40:18 +02:00
Ivailo Monev
a7fc6cd735
kinit: rename exec command definitions
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-01 08:55:13 +02:00
Ivailo Monev
747df5dee8
generic: use KStandardDirs::findExe() instead of resource lookup to find kioslave
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-10 18:31:39 +03:00
Ivailo Monev
a87347ea27
kio: stream PID as qint64 type
...
the static_cast<T>()'s are just for compile-time checks
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-26 14:47:24 +03:00
Ivailo Monev
85ebd47ff0
kinit: const-ify variable in KLauncher::waitForSlave()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 13:28:38 +03:00
Ivailo Monev
45b86486d3
kinit: do not deep-copy QString object in KLauncher::start_service()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 13:27:38 +03:00
Ivailo Monev
bf28b99836
kinit: keep reference to the QByteArray object in KLauncher::cancel_service_startup_info()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 12:11:08 +03:00
Ivailo Monev
24a903d65f
kinit: use correct QString constructor in KLauncher::cancel_service_startup_info()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 12:04:41 +03:00
Ivailo Monev
81c3df9800
kinit: use single variable assignment in KLauncher::processRequestReturn()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 12:04:10 +03:00
Ivailo Monev
63ceaf9a8e
kinit: initialize static variable
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-25 11:56:21 +03: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
e04eba1d9a
kinit: properly indent KLauncher::slotAutoStart()
...
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-08 10:44:08 +02:00
Ivailo Monev
c0e06f8215
generic: adjust to Katie changes
...
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-07-04 23:59:42 +00: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
ca191527d1
kinit: do not keep one file slave running
...
digging trough mailing lists I think it was done for performance reasons
but if the user has not run a program that requires the slave to operate
for a long time (default timeout is 30sec) then it should be stopped so
that it can benefit any potentional security updates applied to the OS thus
it is no longer exception
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-01 05:47:42 +02:00
Ivailo Monev
a7abfa0954
kinit: let the compiler optimize-out the passed value
...
what I did in b4ec5b6a
wasn't exactly perfect
2015-09-28 14:12:07 +00:00
Ivailo Monev
b4ec5b6a3d
kinit: minor code shrink
2015-09-05 07:57:08 +00:00
Ivailo Monev
0a78c4ef65
generic: misc cleanups
2015-08-27 20:35:05 +03:00
Ivailo Monev
21ad0df488
generic: make changes required for building against katie
2015-08-11 05:56:07 +03:00
Ivailo Monev
4a7ee7d515
kinit: cleanup remains of win and mac support
2015-05-15 20:53:31 +00: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
6110cc6e12
kinit: prevent compiler warning by conditionally defining s_DBusStartupTypeToString
2015-01-21 16:07:56 +00:00
Ivailo Monev
c7a2a17692
yet more windows and mac code remove
2014-11-19 15:30:39 +00:00
Ivailo Monev
814163a8dc
initial import
2014-11-13 01:04:59 +02:00