OSDN Git Service

kde/kde-extraapps.git
14 months agokdeplasma-addons: log epod POTD provider URL
Ivailo Monev [Fri, 19 May 2023 05:37:55 +0000 (08:37 +0300)]
kdeplasma-addons: log epod POTD provider URL

currently broken, when the URL (https://epod.usra.edu/.a/6a0105371bb32c970b02b751a11620200c-pi)
is opened in chromium the picture is a small white square. go figure

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
14 months agokdeplasma-addons: use HTTPS URLs in flicker POTD provider
Ivailo Monev [Fri, 19 May 2023 05:29:19 +0000 (08:29 +0300)]
kdeplasma-addons: use HTTPS URLs in flicker POTD provider

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agogwenview: deep-copy added views in Gwenview::DocumentViewContainer::pretendFadeInFini...
Ivailo Monev [Sat, 14 Jan 2023 03:12:34 +0000 (05:12 +0200)]
gwenview: deep-copy added views in Gwenview::DocumentViewContainer::pretendFadeInFinished()

fixes crash in case animations are disabled

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agookular: deprecation warning fix
Ivailo Monev [Sun, 1 Jan 2023 20:03:54 +0000 (22:03 +0200)]
okular: deprecation warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokrdc: adjust to KIO protocol changes
Ivailo Monev [Sun, 1 Jan 2023 00:42:53 +0000 (02:42 +0200)]
krdc: adjust to KIO protocol changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokrdc: adjust to KIO protocol changes
Ivailo Monev [Sat, 31 Dec 2022 23:16:21 +0000 (01:16 +0200)]
krdc: adjust to KIO protocol changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: use the new KHTTP::setServerID() method
Ivailo Monev [Sun, 25 Dec 2022 16:38:14 +0000 (18:38 +0200)]
kget: use the new KHTTP::setServerID() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: adjust to KHTTP changes
Ivailo Monev [Sun, 25 Dec 2022 16:16:30 +0000 (18:16 +0200)]
kget: adjust to KHTTP changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: show notification if KHTTP::setAuthenticate() returns false
Ivailo Monev [Sun, 25 Dec 2022 03:26:39 +0000 (05:26 +0200)]
kget: show notification if KHTTP::setAuthenticate() returns false

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: lower the default web interface refresh interval to 2 seconds
Ivailo Monev [Sun, 25 Dec 2022 03:10:20 +0000 (05:10 +0200)]
kget: lower the default web interface refresh interval to 2 seconds

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: adjust to KHTTP changes
Ivailo Monev [Sun, 25 Dec 2022 03:04:57 +0000 (05:04 +0200)]
kget: adjust to KHTTP changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdeplasma-addons: disable windows highlight option of icontasks applet by default
Ivailo Monev [Sat, 24 Dec 2022 14:05:38 +0000 (16:05 +0200)]
kdeplasma-addons: disable windows highlight option of icontasks applet by default

that option is so bogus for any window that is maximized - as soon as the
window is highlighted it will cover the entire screen but there is option
to show preview too meaning both preview and the window may be shown. which
one should be on top tho?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: adjust to KIO::NetAccess::synchronousRun() changes
Ivailo Monev [Fri, 23 Dec 2022 00:13:04 +0000 (02:13 +0200)]
kget: adjust to KIO::NetAccess::synchronousRun() changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: const-ify iterator value in KGetGlobalJob::update()
Ivailo Monev [Thu, 22 Dec 2022 18:06:47 +0000 (20:06 +0200)]
kget: const-ify iterator value in KGetGlobalJob::update()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: use the KMainWindow auto-save feature
Ivailo Monev [Thu, 22 Dec 2022 12:34:01 +0000 (14:34 +0200)]
kget: use the KMainWindow auto-save feature

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoark: implement isReadOnly() for libarchive plugin
Ivailo Monev [Thu, 22 Dec 2022 00:09:04 +0000 (02:09 +0200)]
ark: implement isReadOnly() for libarchive plugin

now the interface will properly indicate that the archive is not writable
when that is the case (it was not even before the port to KArchive)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoark: remove read-only MIME types listed as read-write
Ivailo Monev [Thu, 22 Dec 2022 00:02:37 +0000 (02:02 +0200)]
ark: remove read-only MIME types listed as read-write

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agoMerge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-extraapps
Ivailo Monev [Wed, 21 Dec 2022 16:12:32 +0000 (18:12 +0200)]
Merge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-extraapps

18 months agothumbnailers: do not paint frame for thumbnails generated by ffmpegthumbs
Ivailo Monev [Wed, 21 Dec 2022 16:12:11 +0000 (18:12 +0200)]
thumbnailers: do not paint frame for thumbnails generated by ffmpegthumbs

film strip is enabled by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokget: read the file in chunks from Verifier::checksum()
Ivailo Monev [Wed, 21 Dec 2022 11:33:44 +0000 (13:33 +0200)]
kget: read the file in chunks from Verifier::checksum()

may slow the hashing of large files but will require less memory for such

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdeplasma-addons: deal with FIXME related to recentdocuments applet
Ivailo Monev [Wed, 21 Dec 2022 10:44:28 +0000 (12:44 +0200)]
kdeplasma-addons: deal with FIXME related to recentdocuments applet

note that KRecentFilesAction does not clear actions that are not in the
config (e.g. entries stored in ~/.katana/share/apps/RecentDocuments or xbel
file)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdeplasma-addons: watch sub-directories from wallpaper plugins
Ivailo Monev [Wed, 21 Dec 2022 09:57:35 +0000 (11:57 +0200)]
kdeplasma-addons: watch sub-directories from wallpaper plugins

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
18 months agokdeplasma-addons: adjust to KDirWatch changes
Ivailo Monev [Tue, 20 Dec 2022 22:27:21 +0000 (00:27 +0200)]
kdeplasma-addons: adjust to KDirWatch changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: do not assume video_thumbnailer is struct
Ivailo Monev [Tue, 20 Dec 2022 13:50:01 +0000 (15:50 +0200)]
thumbnailers: do not assume video_thumbnailer is struct

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: check if video_thumbnailer has prefer_embedded_metadata member
Ivailo Monev [Tue, 20 Dec 2022 13:32:12 +0000 (15:32 +0200)]
thumbnailers: check if video_thumbnailer has prefer_embedded_metadata member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: implement options for ffmpegthumbs
Ivailo Monev [Tue, 20 Dec 2022 12:11:45 +0000 (14:11 +0200)]
thumbnailers: implement options for ffmpegthumbs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoksnapshot: remove unused ktemporaryfile header inclusion
Ivailo Monev [Tue, 20 Dec 2022 09:11:25 +0000 (11:11 +0200)]
ksnapshot: remove unused ktemporaryfile header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove unused ktemporaryfile header inclusions
Ivailo Monev [Tue, 20 Dec 2022 09:04:51 +0000 (11:04 +0200)]
okular: remove unused ktemporaryfile header inclusions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoark: set the KArchive temporary prefix to the global working directory
Ivailo Monev [Mon, 19 Dec 2022 16:06:41 +0000 (18:06 +0200)]
ark: set the KArchive temporary prefix to the global working directory

fixes creating of archives with large files that cannot fit in /tmp (or
whatever the temporary directory is set to). note that this still depends
on how much space is available on the filesystem the archive is created on
and will not work for remote archives - remote archives will have to be
fetched somewhere with enough space to hold the archive and a copy of it
(possibly $HOME) but that is for another commit (currently archives are
fetched into /tmp but not uploaded upon modification)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: add missing breaks in ffmpeg_log_callback()
Ivailo Monev [Sun, 18 Dec 2022 21:21:43 +0000 (23:21 +0200)]
thumbnailers: add missing breaks in ffmpeg_log_callback()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: use video_thumbnailer_set_size() if available
Ivailo Monev [Sun, 18 Dec 2022 15:05:04 +0000 (17:05 +0200)]
thumbnailers: use video_thumbnailer_set_size() if available

side note: ffmpegthumbnailer::VideoThumbnailer::setThumbnailSize(int) is
not marked as deprecated

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: remove unused ThumbnailerVersion property
Ivailo Monev [Sun, 18 Dec 2022 14:43:22 +0000 (16:43 +0200)]
thumbnailers: remove unused ThumbnailerVersion property

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: drop text-to-speech support
Ivailo Monev [Sun, 18 Dec 2022 14:24:02 +0000 (16:24 +0200)]
okular: drop text-to-speech support

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: use the C API of FFmpegThumbnailer
Ivailo Monev [Sun, 18 Dec 2022 12:46:37 +0000 (12:46 +0000)]
thumbnailers: use the C API of FFmpegThumbnailer

the C API does not throw exceptions (or should not), it is wrapper around
the C++ API tho (usually it is the opposite)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: prefix the ThumbnailerImageType enum in ffmpegthumbs thumbnailer
Ivailo Monev [Sun, 18 Dec 2022 12:11:28 +0000 (12:11 +0000)]
thumbnailers: prefix the ThumbnailerImageType enum in ffmpegthumbs thumbnailer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: spectre generator review
Ivailo Monev [Sat, 17 Dec 2022 18:29:37 +0000 (20:29 +0200)]
okular: spectre generator review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: thread spectre rendering via the threaded generator feature
Ivailo Monev [Sat, 17 Dec 2022 17:34:58 +0000 (19:34 +0200)]
okular: thread spectre rendering via the threaded generator feature

no functional change, native printing can be implemented easier now tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: remove unused and private LibPartedPartitionTable getters
Ivailo Monev [Sat, 17 Dec 2022 16:57:26 +0000 (18:57 +0200)]
partitionmanager: remove unused and private LibPartedPartitionTable getters

what if backends use KAuthorization helper to do tasks that require
root and the partitionmanager application runs as regular user?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agogeneric: prepare for Katie changes
Ivailo Monev [Sat, 17 Dec 2022 13:53:54 +0000 (15:53 +0200)]
generic: prepare for Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove unused tiles feature
Ivailo Monev [Fri, 16 Dec 2022 22:11:56 +0000 (00:11 +0200)]
okular: remove unused tiles feature

it was supposed to be optimization for extreme zoom-out levels

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: check if pointers are not null before using them in audio thumbnailer
Ivailo Monev [Fri, 16 Dec 2022 16:39:24 +0000 (18:39 +0200)]
thumbnailers: check if pointers are not null before using them in audio thumbnailer

fixes crashes in some cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: format and indent spectre generator source and header files
Ivailo Monev [Fri, 16 Dec 2022 16:10:34 +0000 (18:10 +0200)]
okular: format and indent spectre generator source and header files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: implement exporting as application/postscript for djvu generator
Ivailo Monev [Fri, 16 Dec 2022 15:51:08 +0000 (17:51 +0200)]
okular: implement exporting as application/postscript for djvu generator

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: switch from poster to player on mouse button release event
Ivailo Monev [Fri, 16 Dec 2022 15:32:10 +0000 (17:32 +0200)]
okular: switch from poster to player on mouse button release event

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove unused Okular::Movie constructor
Ivailo Monev [Fri, 16 Dec 2022 15:29:07 +0000 (17:29 +0200)]
okular: remove unused Okular::Movie constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: log djvu and epub generators messages to specialized debug areas
Ivailo Monev [Fri, 16 Dec 2022 14:24:20 +0000 (16:24 +0200)]
okular: log djvu and epub generators messages to specialized debug areas

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove dummy method of spectre generator
Ivailo Monev [Fri, 16 Dec 2022 14:11:26 +0000 (16:11 +0200)]
okular: remove dummy method of spectre generator

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agogeneric: feature information review
Ivailo Monev [Fri, 16 Dec 2022 14:09:26 +0000 (16:09 +0200)]
generic: feature information review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove now unused Freetype package check
Ivailo Monev [Fri, 16 Dec 2022 12:03:24 +0000 (14:03 +0200)]
okular: remove now unused Freetype package check

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: sync LibSpectre package properties
Ivailo Monev [Fri, 16 Dec 2022 12:00:07 +0000 (14:00 +0200)]
okular: sync LibSpectre package properties

fixes CMake warning

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: search for dvipng in addition to latex program
Ivailo Monev [Fri, 16 Dec 2022 11:30:38 +0000 (13:30 +0200)]
okular: search for dvipng in addition to latex program

dvipng is usually part of the base package (texlive-base, texlive-bin,
etc.)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: drop dvi, fax, ooo and xps generators
Ivailo Monev [Fri, 16 Dec 2022 10:12:16 +0000 (12:12 +0200)]
okular: drop dvi, fax, ooo and xps generators

if those document formats where anything close to relevant why is there
no C/C++ library for rendering them like there is for PDF, Postcript,
etc.?

anyway, I will not support such (see kdelibs/kimgio/README)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: ps thumbnailer rewrite
Ivailo Monev [Fri, 16 Dec 2022 09:27:30 +0000 (11:27 +0200)]
thumbnailers: ps thumbnailer rewrite

now with no extra process and antialias options!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokdeplasma-addons: do not report error twice from audioplayercontrol runner
Ivailo Monev [Thu, 15 Dec 2022 10:28:33 +0000 (12:28 +0200)]
kdeplasma-addons: do not report error twice from audioplayercontrol runner

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokdeplasma-addons: update apod POTD provider URL
Ivailo Monev [Wed, 14 Dec 2022 11:50:20 +0000 (13:50 +0200)]
kdeplasma-addons: update apod POTD provider URL

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokuser: remove it
Ivailo Monev [Wed, 14 Dec 2022 11:23:59 +0000 (13:23 +0200)]
kuser: remove it

prone to breakage, should be rewritten as KCM module and use `useradd`,
`usermod`, etc. aswell as KUser and KUserGroup instead

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoksystemlog: remove it
Ivailo Monev [Wed, 14 Dec 2022 11:17:45 +0000 (13:17 +0200)]
ksystemlog: remove it

requires changes to defaults or configuration changes from the user
to function properly on any BSD, journalctl is what Linux uses (i.e.
requires major rewrite)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokcron: remove it
Ivailo Monev [Wed, 14 Dec 2022 11:13:25 +0000 (13:13 +0200)]
kcron: remove it

requires funcitonal cron which some Linux distributions do not even
have by default, can be reimplemented as KDED module

note that ktimer can execute commands after certain time (i.e. it is
simplified version of cron)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: set the KSpeech ID to lowercase one for consistency
Ivailo Monev [Tue, 13 Dec 2022 23:09:04 +0000 (01:09 +0200)]
okular: set the KSpeech ID to lowercase one for consistency

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokemu: adjust to soundhw argument removal
Ivailo Monev [Tue, 13 Dec 2022 22:11:39 +0000 (00:11 +0200)]
kemu: adjust to soundhw argument removal

note that even if the audio driver is not installed QEMU may just issue
a warning

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: keep references to QByteArray objects in LibPartedDevice::createPar...
Ivailo Monev [Tue, 13 Dec 2022 18:35:39 +0000 (20:35 +0200)]
partitionmanager: keep references to QByteArray objects in LibPartedDevice::createPartitionTable()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: force creation of nilfs2 filesystem
Ivailo Monev [Tue, 13 Dec 2022 17:53:23 +0000 (19:53 +0200)]
partitionmanager: force creation of nilfs2 filesystem

due to some Linux kernel issues (see LibPartedPartitionTable::commit())
even after partition table (re)creation the filesystem may still exist.
note the same is done for btrfs, ntfs and some other filesystem types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: remove clashing ExternalCommand::exitCode() method
Ivailo Monev [Tue, 13 Dec 2022 17:17:54 +0000 (19:17 +0200)]
partitionmanager: remove clashing ExternalCommand::exitCode() method

QProcess has such method, its value defaults to zero tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: require command argument for ExternalCommand
Ivailo Monev [Tue, 13 Dec 2022 17:11:20 +0000 (19:11 +0200)]
partitionmanager: require command argument for ExternalCommand

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: simplify luks mounting
Ivailo Monev [Tue, 13 Dec 2022 16:59:58 +0000 (18:59 +0200)]
partitionmanager: simplify luks mounting

soliduiserver uses the same method - instead of piping it sets the key to
stdin and writes the password to it, bonus points for simplifying the
internal command runner (ExternalCommand class) aswell

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokemu: consistent format
Ivailo Monev [Tue, 13 Dec 2022 14:06:53 +0000 (16:06 +0200)]
kemu: consistent format

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: remove unused variable in EditMountPointDialogWidget::readMountpoints()
Ivailo Monev [Tue, 13 Dec 2022 14:05:47 +0000 (16:05 +0200)]
partitionmanager: remove unused variable in EditMountPointDialogWidget::readMountpoints()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agopartitionmanager: use PedDevice::phys_sector_size member instead of Linux-specifiec...
Ivailo Monev [Tue, 13 Dec 2022 13:54:00 +0000 (15:54 +0200)]
partitionmanager: use PedDevice::phys_sector_size member instead of Linux-specifiec code for it

making it slightly more portable, FreeBSD has no parted port tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokemu: replace QMessageBox with KMessageBox
Ivailo Monev [Tue, 13 Dec 2022 09:43:34 +0000 (11:43 +0200)]
kemu: replace QMessageBox with KMessageBox

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokemu: log debug message with the exit code when machine finishes
Ivailo Monev [Tue, 13 Dec 2022 09:33:07 +0000 (11:33 +0200)]
kemu: log debug message with the exit code when machine finishes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokemu: log messages to specialized debug area
Ivailo Monev [Tue, 13 Dec 2022 09:26:29 +0000 (11:26 +0200)]
kemu: log messages to specialized debug area

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agothumbnailers: draw blended icon for document thumbnails
Ivailo Monev [Tue, 13 Dec 2022 08:35:17 +0000 (10:35 +0200)]
thumbnailers: draw blended icon for document thumbnails

see 2988a77e82a61426f8144c954dec349191e02bb3 in kde-workspace repo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: DjVuLibre package properties update
Ivailo Monev [Mon, 12 Dec 2022 14:41:44 +0000 (16:41 +0200)]
okular: DjVuLibre package properties update

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokdeplasma-addons: remove unused X-KDE-PlasmaPoTDProvider-SuffixType property
Ivailo Monev [Sun, 11 Dec 2022 05:52:36 +0000 (07:52 +0200)]
kdeplasma-addons: remove unused X-KDE-PlasmaPoTDProvider-SuffixType property

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove unused X-KDE-okularAPIVersion property
Ivailo Monev [Sun, 11 Dec 2022 05:47:34 +0000 (07:47 +0200)]
okular: remove unused X-KDE-okularAPIVersion property

note that it is not checked for by okular itself, it's just being parsed
and stored in memory by anything using KService and such

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoark: remove unused X-KDE-Kerfuffle-APIRevision property
Ivailo Monev [Sun, 11 Dec 2022 05:40:12 +0000 (07:40 +0200)]
ark: remove unused X-KDE-Kerfuffle-APIRevision property

if you are not doing full rebuild (to catch API changes) atleast on
every new release then you are doing something wrong anyway

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokdeplasma-addons: remove unused OrgKdeKLauncherInterface header inclusion
Ivailo Monev [Thu, 8 Dec 2022 01:47:19 +0000 (03:47 +0200)]
kdeplasma-addons: remove unused OrgKdeKLauncherInterface header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokdeplasma-addons: UIC warning fix
Ivailo Monev [Tue, 6 Dec 2022 22:12:20 +0000 (00:12 +0200)]
kdeplasma-addons: UIC warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokget: adjust to KIO changes
Ivailo Monev [Tue, 6 Dec 2022 02:33:54 +0000 (04:33 +0200)]
kget: adjust to KIO changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokmix: remove redundant __GNUC__ checks
Ivailo Monev [Tue, 6 Dec 2022 01:42:50 +0000 (03:42 +0200)]
kmix: remove redundant __GNUC__ checks

 #warning is supported by clang aswell

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agogeneric: remove kdeinit support leftovers
Ivailo Monev [Tue, 6 Dec 2022 01:42:11 +0000 (03:42 +0200)]
generic: remove kdeinit support leftovers

once upon a time kdeinit used to call kdemain() function, with it rewritten
by me its hacks are in the past

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agogeneric: set X-DBUS-ServiceName in the desktop files
Ivailo Monev [Mon, 5 Dec 2022 04:03:09 +0000 (06:03 +0200)]
generic: set X-DBUS-ServiceName in the desktop files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoark: correct X-DBUS-StartupType and set X-DBUS-ServiceName
Ivailo Monev [Mon, 5 Dec 2022 03:52:54 +0000 (05:52 +0200)]
ark: correct X-DBUS-StartupType and set X-DBUS-ServiceName

ark is not unique application, i.e. it uses KApplicaiton and provides
org.kde.ark-<pid> D-Bus interface

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: prepare for kdelibs changes
Ivailo Monev [Sun, 4 Dec 2022 19:54:56 +0000 (21:54 +0200)]
okular: prepare for kdelibs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokmix: prepare for KAutostart changes
Ivailo Monev [Sat, 3 Dec 2022 02:07:24 +0000 (04:07 +0200)]
kmix: prepare for KAutostart changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove now unused part method and member
Ivailo Monev [Fri, 2 Dec 2022 23:39:07 +0000 (01:39 +0200)]
okular: remove now unused part method and member

unused since 6a58726aea28c42853b74a29b3651ca54b449a6d

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoMerge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-extraapps
Ivailo Monev [Fri, 2 Dec 2022 22:49:51 +0000 (00:49 +0200)]
Merge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-extraapps

19 months agokdeplasma-addons: set the drag timer to zero after killing it in spellcheck applet
Ivailo Monev [Fri, 2 Dec 2022 22:40:50 +0000 (00:40 +0200)]
kdeplasma-addons: set the drag timer to zero after killing it in spellcheck applet

note: killTimer() would rampage if the timer ID is not m_dragTimer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: use QTextCodec::codecForText() for codec detection in txt generator
Ivailo Monev [Fri, 2 Dec 2022 19:35:24 +0000 (21:35 +0200)]
okular: use QTextCodec::codecForText() for codec detection in txt generator

QTextCodec::codecForUtfText() can detect only unicode signatures (on
purpose) while QTextCodec::codecForText() can detect more

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokuser: include CheckSymbolExists instead of CheckFunctionExists module
Ivailo Monev [Fri, 2 Dec 2022 01:23:20 +0000 (03:23 +0200)]
kuser: include CheckSymbolExists instead of CheckFunctionExists module

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agokuser: use check_symbol_exists() to check for symbols presence
Ivailo Monev [Fri, 2 Dec 2022 01:20:28 +0000 (03:20 +0200)]
kuser: use check_symbol_exists() to check for symbols presence

CMAKE_REQUIRED_INCLUDES should specify list of header search paths btw

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agogeneric: version bump
Ivailo Monev [Thu, 1 Dec 2022 20:09:47 +0000 (22:09 +0200)]
generic: version bump

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agoMerge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-extraapps 4.22.0
Ivailo Monev [Thu, 1 Dec 2022 17:07:15 +0000 (19:07 +0200)]
Merge branch 'master' of https://scm.osdn.net/gitroot/kde/kde-extraapps

19 months agookular: fix xps generator printing
Ivailo Monev [Thu, 1 Dec 2022 17:06:37 +0000 (19:06 +0200)]
okular: fix xps generator printing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove now non-existing import_ps action from the part.rc
Ivailo Monev [Thu, 1 Dec 2022 03:36:12 +0000 (05:36 +0200)]
okular: remove now non-existing import_ps action from the part.rc

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agogwenview: do not rely on compiler to pick up the correct constructor
Ivailo Monev [Wed, 30 Nov 2022 20:08:47 +0000 (22:08 +0200)]
gwenview: do not rely on compiler to pick up the correct constructor

KUrl has QVariant operator meaning it should be QVariant from QVariant
(i.e. copy constructor) but the testModel() function (see the history model
test) explicitly converts it to KUrl while the StartMainPage class was
converting it to QUrl (via QVariant::toUrl()).

qVariantFromValue<T>() has type before QVariant specialization

side note, try compiling the following (with proper Makefile):

 #include <qurl.h>
 #include <qvariant.h>
 #include <qdebug.h>
 #include <kurl.h>

int main (int argc, char** argv)
{
    QVariant v(QUrl());
    qDebug() << v.type() << v.userType();

    QVariant v2(KUrl());
    qDebug() << v2.type() << v2.userType();

    return 0;
}

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove the part action to import PS as PDF
Ivailo Monev [Wed, 30 Nov 2022 17:52:58 +0000 (19:52 +0200)]
okular: remove the part action to import PS as PDF

Okular can open both document formats, can even export PS as PDF

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove non-existing action in part.rc
Ivailo Monev [Wed, 30 Nov 2022 17:45:16 +0000 (19:45 +0200)]
okular: remove non-existing action in part.rc

GHNS support was dropped

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: remove file printer leftovers
Ivailo Monev [Wed, 30 Nov 2022 17:40:09 +0000 (19:40 +0200)]
okular: remove file printer leftovers

only native printing (via QPrinter) is supported now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
19 months agookular: load the movie anew when repeating it
Ivailo Monev [Tue, 29 Nov 2022 01:23:27 +0000 (03:23 +0200)]
okular: load the movie anew when repeating it

also the loaded state does not have to be tracked and a new attempt to load
it (in case of temporary resource failure) may succeed (failures are
neither tracked nor reported by the video widget class)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>