Commit graph

68 commits

Author SHA1 Message Date
Ivailo Monev
7c88e24338 kdecore: debug areas update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-12 21:00:39 +03:00
Ivailo Monev
576547a069 kdecore: debug areas update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-12 20:59:45 +03:00
Ivailo Monev
047234847d kdecore: remove now invalid debug area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-12 09:00:03 +03:00
Ivailo Monev
9c78166b87 kdecore: debug areas update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-22 00:38:11 +03:00
Ivailo Monev
c303467164 kutils: drop unused classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 03:52:20 +03:00
Ivailo Monev
a65bd3b685 kfile: merge it into kio
once upon a time it was either part of it or was separated from it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-24 01:19:59 +02:00
Ivailo Monev
a324de58dc kdeui: log KAction warning to the correct debug area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 14:42:24 +02:00
Ivailo Monev
3ce3fcf34b kdeui: drop KNotificationRestrictions class
most of the functionality is not implemented, the rest can be done via
Solid::PowerManagement::beginSuppressingScreenPowerManagement() and
Solid::PowerManagement::stopSuppressingScreenPowerManagement()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 13:53:40 +02:00
Ivailo Monev
590546bda8 kdecore: remove references to the old ftp and sftp slaves
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 21:51:35 +02:00
Ivailo Monev
a5132853b0 kioslave: reimplement ftp and sftp slaves via curl
the sftp KIO slave is in the kde-workspace repo and the module for
finding libssh was for it. tested ftp and sftp - both work with user and
password authentication as intended (in read-only mode, put() not
implemented)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 00:48:01 +02:00
Ivailo Monev
e3ffed0de5 kdecore: debug areas update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-11-05 01:03:38 +02:00
Ivailo Monev
fbfb374b9c generic: drop scripting and tray support
after changes to multiple sub-projects (Katie, kdelibs, kde-workspace
and kde-extraapps) that finally happened, can write lots about it but I
will keep it short - by rewriting parts that were using js/qml (e.g. the
plasma applets) the desktop startup was reduced to half, also the legacy
tray thing shall be no more (anything that needs tray icon shall be a
plasma applet now) thus some applications and features will be dropped
aswell. see all repositories for the changes done

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:06:58 +03:00
Ivailo Monev
a09cf5455a kdecore: remove references to khotkeys
note the check if khotkeys is automatically started - it was a KDED module
not started because of XDG autostart desktop file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-30 00:08:53 +03:00
Ivailo Monev
b2db2e1c36 kdecore: update description of kpty debug area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-27 05:41:32 +03:00
Ivailo Monev
ef013e9da7 kdecore: add debug area for kglobalaccel
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-27 05:08:19 +03:00
Ivailo Monev
450120097d kdeui: reimplement KNotification
cleaning up the mess, everything but KNotificationConfigWidget is
implemented.

not only does it not require additional D-Bus service (knotify) to
function but also does not transmit pixmaps over D-Bus, the features
to execute command or log to file are dropped and will not be
implemented.

also about markup support in notifications - if the server does not
support markup then it is supposed to strip it, see the spec:
https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#backwards-compat
meaning nothing should be done by KNotification itself because it is not
a server, it is just a proxy.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-25 09:01:39 +03:00
Ivailo Monev
8eb0c751b8 kutils: log kidletime messages to special area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-05 21:36:22 +03:00
Ivailo Monev
2647be1ab2 kdeui: KCrash rewrite
a crashed program trying to restart itself is very unreliable,
especially program that uses KUniqueApplication instance. so, instead
all the information about the crash shall be written to a file on the
disk (in the temporary directory) and read by external kcrash KDED
module that will report the crash (possibily even upload the crash
details somewhere) and restart the program as necessarry.

this also opens up possibility for per-application configuration for
things such as the automatic restart feature but that shall be done by the
kcrash KDED module instead (parsing a config from a crashed program is
not a good idea)

KCrash::NoRestart will be unused but kept for future expansion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-03 11:21:41 +03:00
Ivailo Monev
8cf2ae7bc2 generic: drop floppy support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-14 06:30:29 +03:00
Ivailo Monev
68e226a0b1 kdecore: remove debug area for the now gone networkstatus
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 21:43:53 +03:00
Ivailo Monev
355bca1289 kutils: new knetworkmanager library
to replace the status notifier (in the kde-workspace repo) and
eventually manage network connections aswell as move network status
notifier out of solid

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 07:48:38 +03:00
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
fd93fbbecc kio: reimplement KDirLister
has to be done to fix the caching issues, bonus points for being much
simpler and cleaner

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-01 06:18:59 +03:00
Ivailo Monev
8bce018375 kdecore: add debug area for ksnapshot
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-21 01:36:03 +03:00
Ivailo Monev
e123736f1a kdecore: add debug area for ark
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-20 10:00:33 +03:00
Ivailo Monev
3aaef7077e kdecore: add debug area for gwenview
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-20 04:00:18 +03:00
Ivailo Monev
6fd034f833 kdecore: add debug area for kfreespace
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 15:49:53 +03:00
Ivailo Monev
819cca1e41 kdeui: replace libdbusmenu-qt dependency with custom classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-28 20:56:05 +03:00
Ivailo Monev
969ddd830f kutils: rewrite KHTTP and move it to kio library
same functionality but without extra dependencies and better throughput

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-25 04:59:18 +02:00
Ivailo Monev
4dbb501d25 generic: drop text-to-speech support
Katana (or any interface designed around key and mouse events) is not
for blind people, trying to slap text-to-speech on top of it was the
wrong thing to do to begin with

side note: speech-dispatcher tends to hang if the output device is not
configured properly (i.e. editing /etc/speech-dispatcher/speechd.conf
manually)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 15:56:59 +02:00
Ivailo Monev
d3df44a757 kdecore: update kdebug.areas
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-16 16:24:56 +02:00
Ivailo Monev
c88c7add59 kdecore: update kdebug.areas
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-16 12:23:07 +02:00
Ivailo Monev
45853cb67c kdecore: add debug area for kemu
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 11:24:29 +02: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
40633cc361 kdecore: add debug area for kgreeter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-06 09:43:25 +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
68972d2ddd kdecore: add debug areas for kdirshare and kscreensaver
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-01 18:33:42 +02:00
Ivailo Monev
31c3c80b35 kdecore: add entry for the default debug area to kdebug.areas
now it will be configurable via KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 04:23:47 +02:00
Ivailo Monev
6403e15075 kdecore: minor KDebug review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-23 05:46:59 +03:00
Ivailo Monev
e9a1dfb0bc kdecore: update kdebug.areas
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-23 00:11:23 +03:00
Ivailo Monev
5f750fa3a8 kdecore: log KHTTP warning, error and fatal messages in syslog
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-22 19:56:17 +03:00
Ivailo Monev
028414cb07 kdecore: KDebug rewrite
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-22 19:17:52 +03:00
Ivailo Monev
301bc3a1e5 kutils: new kemail library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-15 05:03:10 +03:00
Ivailo Monev
3ab3f3b47f kutils: new karchive library to replace KZip and KTar
it has to solve a few problems like:
1. blocking the current thread while listing, extracting or adding to
   archive
2. lack of support for some archive formats such as 7-zip in the
   previously available classes for dealing with archive
3. progress and error reporting

a KArchiveJob class may have to be implemented to solve the above
issues. the API is just as frustrating to use as KTar and KZip right now
tho and I am not happy with that but the class itself is a 3-rd rewrite
of what was once Python module, plugin for another project and now used
as base in library.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-06 16:53:55 +03:00
Ivailo Monev
d30fc8d22a kdecore: KSystemTimeZones rewrite to not require daemon
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-01 12:20:38 +03:00
Ivailo Monev
d47d62e503 kutils: new kspeech library to replace the kttsd service and its interface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-29 15:01:39 +03:00
Ivailo Monev
f7e9fe3b03 kdecore: remove non-existing debug areas references
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-29 12:22:09 +03:00
Ivailo Monev
a216cdd4c3 kutils: new khttp library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-09 01:04:01 +03:00
Ivailo Monev
6af9b55738 generic: reimplement kdnssd library
works as expected, services queries include two for IPv4 and one for
the advertised IPv6 address which have to be filtered:
https://ibb.co/4VpJK9V

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-05 22:28:32 +03:00
Ivailo Monev
98a4564326 generic: reimplement power manager
this was once on the TODO:
618622f767...fe9d951f17

the org.freedesktop.PowerManagement interface will be there for
compatibility only now since it is obsolete:
https://www.freedesktop.org/wiki/Specifications/power-management-spec/

side note:
powerdevil inhibition was broken

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 02:20:33 +03:00