Commit graph

15 commits

Author SHA1 Message Date
Ivailo Monev
85205ccecf kio: log KRecentDirs and KRecentDocument actions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 11:28:00 +03:00
Ivailo Monev
0ec4349446 kdecore: process events while the helper method is executed
that way the UI will not freeze while the method is executed, beware
signals and slots if you connect it to one (or even more) tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 08:44:32 +02:00
Ivailo Monev
90c57ada83 kdecore: unregister the helper service and object from KAuthorization destructor
I should (ab)use the object name for more things

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 08:19:15 +02:00
Ivailo Monev
860137350d kdecore: typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-11 12:23:37 +02:00
Ivailo Monev
fcdcbe612e kdecore: KAuthorization optimization
calling the stop() adaptor method instead of ping() and then stop() saves a
lot of D-Bus round-trips

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-11 11:34:53 +02:00
Ivailo Monev
0a67ba2ddd kdecore: partially revert 1bd459a073
dead-lock may happen if QStandardPaths (which KStandardDirs uses and
thus KDebug indirectly) warns about something

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-11 10:18:46 +01:00
Ivailo Monev
1bd459a073 kdecore: log KAuthorization messages to specialized area
that includes Katie messages

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-11 10:09:33 +02:00
Ivailo Monev
b0b0f528da kdecore: parent the KAuthorization object to the application instance if parent is null
that way it will be deleted before the application instance is plugging
memory leaks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-08 01:29:42 +02:00
Ivailo Monev
90dcd31b77 kdecore: tune busy loops for more throughput
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-16 20:39:36 +03:00
Ivailo Monev
8e7c91c20d kdecore: process events for no more than 250ms while waiting for service to unregister in KAuthorization::execute()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-04 03:29:20 +03:00
Ivailo Monev
96a5dce717 kdecore: require parent object argument for the KAuthorization adaptor constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-26 21:18:54 +03:00
Ivailo Monev
791e7b40ec kdecore: simplify quit timer in KAuthorization::helperMain()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-26 06:53:26 +03:00
Ivailo Monev
dadfa96c54 kdecore: check if the QDBusConnectionInterface pointer is null in isDBusServiceRegistered() function
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-25 20:28:11 +03:00
Ivailo Monev
13aa8cf0e1 kdecore: KAuthorization optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-25 20:25:05 +03:00
Ivailo Monev
e88c621aa2 generic: authorization reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-25 19:27:41 +03:00