Commit graph

2170 commits

Author SHA1 Message Date
Ivailo Monev
054f0cb760 generic: adjust to KIO protocol changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 01:15:54 +02:00
Ivailo Monev
9506e7315f plasma: do not copy the data in WetterComIon::setup_slotDataArrived()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-31 23:37:46 +02:00
Ivailo Monev
56e34026cb plasma: bookmarks runner optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-27 22:48:17 +02:00
Ivailo Monev
5482268e40 kdirshare: implement favicon
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-27 17:37:15 +02:00
Ivailo Monev
9cd4a781ff kdirshare: thread the server again
the initial testing was done with a small buffer (QT_BUFFSIZE) which
did not block long while reading file chunks but to reach the disk I/O
limit a larger buffer may be used by KHTTP in the future

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-26 17:57:11 +02:00
Ivailo Monev
417d9065fb kdirshare: include only the MIME type in Content-Type for files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-25 20:08:04 +02:00
Ivailo Monev
c61891926c kdirshare: use the new KHTTP::setServerID() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-25 18:35:07 +02:00
Ivailo Monev
0e81d497dd kdirshare: adjust to KHTTP changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-25 18:15:21 +02:00
Ivailo Monev
4d1aff9ff9 kdirshare: adjust to KHTTP changes
KHTTP no longer has to be threaded to not block the current thread

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-25 05:03:18 +02:00
Ivailo Monev
34f57d6abb kwin: remove declaration of non-existing KWin::XRenderPicture::fromImage() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-24 15:14:02 +02:00
Ivailo Monev
6e8b03eeb9 kdirshare: do not open the file when sending response
KHTTP should send error response if opening the file fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-24 15:08:08 +02:00
Ivailo Monev
c6d63798cf generic: adjust to KApplication changes
KApplication::quitOnSignal() is now called from KApplication constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-23 15:13:14 +02:00
Ivailo Monev
9ecb90f238 libs: adjust to KIO::Job changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-23 01:40:17 +02:00
Ivailo Monev
57cfa00f83 kioslave: adjust to KIO::SlaveBase changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-22 23:09:37 +02:00
Ivailo Monev
f0afb63c17 kurifilter-plugins: test with kde4-config instead of gs executable
if gs program (part of ghostscript package usually) is not installed or it
is not installed as /usr/bin/gs the test would fail

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-21 21:00:48 +02:00
Ivailo Monev
bf00ba8810 plasma: watch sub-directories from image wallppaper plugin
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-21 11:49:30 +02:00
Ivailo Monev
5c4f03cbd4 Merge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-workspace 2022-12-21 00:26:59 +02:00
Ivailo Monev
5ca5e4ea2d generic: adjust to KDirWatch changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-21 00:26:44 +02:00
Ivailo Monev
4d2c9365db klipper: remove non-operational KRegExpEditor support bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-20 16:08:38 +02:00
Ivailo Monev
ea611115c4 generic: call KToolInvocation::setLaunchEnv() as static method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-19 16:22:07 +02:00
Ivailo Monev
ddbaf30d36 Merge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-workspace 2022-12-19 16:04:42 +02:00
Ivailo Monev
c7aebc7df8 plasma: remove dummy autostart file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-19 16:04:29 +02:00
Ivailo Monev
ca21b19e3b kstart: adjust to KToolInvocation changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-19 14:29:04 +02:00
Ivailo Monev
c7a9f67a23 kioslave: do not convert the image from imagethumbnail
if the depth is required to be 32 somewhere else then it should be
converted there

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 22:59:12 +02:00
Ivailo Monev
2ce6520523 generic: drop text-to-speech support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 16:14:11 +02:00
Ivailo Monev
59534f0f32 kinfocenter: correct X-DBUS-StartupType
note that it did not even had X-DBUS-ServiceName before the fork (see
9536a25d4c) and multiple instances can run at
the same time (e.g. one showing the devices, one showing graphical
information, etc.)

fixes klauncher timeout and warning

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-18 10:46:37 +02:00
Ivailo Monev
ce614f2297 plasma: blind-start services via KRun from kickoff menu
KRun will show message box if exec fails (it uses KToolInvocation itself
and checks the return value) and the menu will not be blocked while the
application is starting

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-17 17:23:34 +02:00
Ivailo Monev
f3e5025c2f generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-17 15:43:14 +02:00
Ivailo Monev
17cd523fb2 kioslave: drop windowsimagecreator thumbnailer
it uses the ICO image format handler which can read only
image/vnd.microsoft.icon

also optimized the windowsexecreator while at it to not created
temporary file (which later wrestool would overwrite anyway) but
rather just generate output file path via KTemporaryFile::filePath()
and delete it manually when done

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-16 14:40:02 +02:00
Ivailo Monev
1ab5455149 kfind: drop locate support
locate will not work on remote folders (e.g. on sftp folder opened
with Dolphin)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-16 09:15:22 +02:00
Ivailo Monev
568ecf8cd3 kfind: add KonqPopupMenu/Plugin service file
kfind can perform much more fine grained searched than what the dolphin
KIO slave does - it has case-sensitivity, MIME type, modification time,
owner (user and group) options and more

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-16 08:57:44 +02:00
Ivailo Monev
2fd522be69 klipper: build fix for the case when DEBUG_EVENTS__ is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-15 08:24:43 +02:00
Ivailo Monev
00c878740e kcontrol: explicitly load in case its not timzeone change from KclockModule::save()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 21:34:50 +02:00
Ivailo Monev
0ea8aca13b kcontrol: lower the timezone poll time to 1 second
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 21:26:07 +02:00
Ivailo Monev
7e8f1620a0 generic: disable KCM when not authorized
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 21:12:03 +02:00
Ivailo Monev
61d831381a knotify: image conversion optimization
QImage::scanLine() detaches the image, QImage::constScanLine() does not

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 19:35:45 +02:00
Ivailo Monev
54ff6f125c kquitapp: use proper executable target to begin with
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 17:26:11 +02:00
Ivailo Monev
8fa5d7dbd3 knotify: drop support for plugins
there are six already

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 17:23:06 +02:00
Ivailo Monev
b301dbc302 drkonqi: error message correction
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 16:49:02 +02:00
Ivailo Monev
aabd7af209 kioslave: use QApplication instead of KApplication in the thumbnail slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 16:30:55 +02:00
Ivailo Monev
4dc0be1da4 drkonqi: stop the attached process immediately, fix some races
sending SIGCONT on debug manager (DebuggerManager) start means the process
can exit before backtrace is generated, connecting to the
debuggerFinished() signal after starting the backtrace generator was also
racy

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 16:13:53 +02:00
Ivailo Monev
6eef42e3b5 drkonqi: assume apppath is the full path to the program executable
KCrash passes QCoreApplication::applicationFilePath() as apppath for
example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 15:37:15 +02:00
Ivailo Monev
2edfae16e2 knotify: hack for KAudioPlayer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-14 14:51:55 +02:00
Ivailo Monev
5e162c27fe generic: sync preview defaults
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 14:29:20 +02:00
Ivailo Monev
c6c9a014f5 kioslave: do not paint icon if the image is too small
the icon is OK when painted on preview displayed in the file properties
dialog (because it is big) but not when it is painted on the previews
generated for Dolphin for example (depending on the icon size which is in
the 16x16-256x256 range)

the ratio may be tweaked in the future, have to play around with it and see
how it goes for the plasma folder applet, tooltips, etc.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 12:23:46 +02:00
Ivailo Monev
d9cefe86c4 kioslave: release the format before the page from djvucreator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 11:57:05 +02:00
Ivailo Monev
cf8c8af824 kwin: log debug message when starting xkill
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 11:10:18 +02:00
Ivailo Monev
04fd07eec7 kioslave: scale the page size to the requested thumbnail width and height from djvucreator thumbnailer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 10:54:06 +02:00
Ivailo Monev
2988a77e82 kioslave: draw blended icon for document thumbnails
since the document thumbnails look pretty much the same (i.e. a text page)
drawing icon not only from the generic text thumbnailer as indicator what
type of document the thumbnail is for makes sense

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 10:34:36 +02:00
Ivailo Monev
72e935557a kioslave: install the djvuthumbnail.desktop conditionally
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-13 09:28:51 +02:00