OSDN Git Service

kde/kde-extraapps.git
13 months agokrfb: remove unused X11 header inclusion
Ivailo Monev [Mon, 12 Jun 2023 09:42:22 +0000 (12:42 +0300)]
krfb: remove unused X11 header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokcalc: move constants variable to the KCalcConstMenu class
Ivailo Monev [Mon, 12 Jun 2023 09:23:54 +0000 (12:23 +0300)]
kcalc: move constants variable to the KCalcConstMenu class

fixes ODR issue

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokvkbd: remove unused headers inclusions and undefine defaults definitions
Ivailo Monev [Mon, 12 Jun 2023 09:12:34 +0000 (12:12 +0300)]
kvkbd: remove unused headers inclusions and undefine defaults definitions

fixes ODR issues

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agookular: add include-guards to document and okular_main headers, rename the status...
Ivailo Monev [Mon, 12 Jun 2023 09:00:18 +0000 (12:00 +0300)]
okular: add include-guards to document and okular_main headers, rename the status enum

fixes ODR issues

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: remove redundant ColorIconEngine destructor
Ivailo Monev [Mon, 12 Jun 2023 08:41:46 +0000 (11:41 +0300)]
kdeplasma-addons: remove redundant ColorIconEngine destructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma: remove redundant X11 headers inclusions
Ivailo Monev [Mon, 12 Jun 2023 08:41:31 +0000 (11:41 +0300)]
kdeplasma: remove redundant X11 headers inclusions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: change the native widget icon regardless if the color is in the...
Ivailo Monev [Mon, 12 Jun 2023 08:30:31 +0000 (11:30 +0300)]
kdeplasma-addons: change the native widget icon regardless if the color is in the menu history

when picking the same color twice (or more) the icon was not changing to
the currently picked color (as if no pixel was grabbed)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: adjust to Katie changes
Ivailo Monev [Sun, 11 Jun 2023 16:16:13 +0000 (19:16 +0300)]
kdeplasma-addons: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: adjust to konq library changes
Ivailo Monev [Sat, 10 Jun 2023 20:32:22 +0000 (23:32 +0300)]
generic: adjust to konq library changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: remove build variable used to specify library type
Ivailo Monev [Sat, 10 Jun 2023 20:05:38 +0000 (23:05 +0300)]
generic: remove build variable used to specify library type

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokrdc: build tests if ENABLE_TESTING is set
Ivailo Monev [Sat, 10 Jun 2023 16:40:14 +0000 (19:40 +0300)]
krdc: build tests if ENABLE_TESTING is set

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: use the common NDEBUG defintion as guard
Ivailo Monev [Sat, 10 Jun 2023 16:39:22 +0000 (19:39 +0300)]
kget: use the common NDEBUG defintion as guard

NDEBUG is added to KDE4_DEFINITIONS by
kdelibs/cmake/modules/FindKDE4Internal.cmake if the build type is not
"Debug"

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: associate with application/x-kgetlist
Ivailo Monev [Sat, 10 Jun 2023 16:32:02 +0000 (19:32 +0300)]
kget: associate with application/x-kgetlist

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: prepare for KTextEdit changes
Ivailo Monev [Fri, 9 Jun 2023 21:52:43 +0000 (00:52 +0300)]
kdeplasma-addons: prepare for KTextEdit changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: port to the new spelling classes
Ivailo Monev [Fri, 9 Jun 2023 17:31:53 +0000 (20:31 +0300)]
generic: port to the new spelling classes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: remove QT_KATIE definition checks
Ivailo Monev [Thu, 8 Jun 2023 11:45:37 +0000 (14:45 +0300)]
generic: remove QT_KATIE definition checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: remove bogus TODO
Ivailo Monev [Thu, 8 Jun 2023 10:57:39 +0000 (13:57 +0300)]
kget: remove bogus TODO

see ea9977cf4be4822853d784e1c484a219ab9a93d1

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokrdc: forward-declare KMenu class
Ivailo Monev [Thu, 8 Jun 2023 10:12:50 +0000 (13:12 +0300)]
krdc: forward-declare KMenu class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: replace use of QTime as timer with QElapsedTimer
Ivailo Monev [Wed, 7 Jun 2023 10:17:28 +0000 (13:17 +0300)]
generic: replace use of QTime as timer with QElapsedTimer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: include now required QMutex header
Ivailo Monev [Tue, 6 Jun 2023 06:55:11 +0000 (09:55 +0300)]
kdeplasma-addons: include now required QMutex header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agookular: adjust to KUrl changes
Ivailo Monev [Tue, 6 Jun 2023 04:48:04 +0000 (07:48 +0300)]
okular: adjust to KUrl changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: remove unused header inclusion
Ivailo Monev [Mon, 5 Jun 2023 18:55:01 +0000 (21:55 +0300)]
kget: remove unused header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: remove unused DataSourceFactory class
Ivailo Monev [Mon, 5 Jun 2023 18:52:07 +0000 (21:52 +0300)]
kget: remove unused DataSourceFactory class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: update incommingmsg applet
Ivailo Monev [Mon, 5 Jun 2023 05:35:03 +0000 (08:35 +0300)]
kdeplasma-addons: update incommingmsg applet

KMail is e-mail sender only now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: remove irrelevant TODO files
Ivailo Monev [Mon, 5 Jun 2023 00:18:44 +0000 (03:18 +0300)]
generic: remove irrelevant TODO files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokmix: make use of QT_QDBUS_EXECUTABLE variable
Ivailo Monev [Sun, 4 Jun 2023 10:05:29 +0000 (13:05 +0300)]
kmix: make use of QT_QDBUS_EXECUTABLE variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: somewhat fix tests
Ivailo Monev [Sun, 4 Jun 2023 09:49:09 +0000 (12:49 +0300)]
kget: somewhat fix tests

TODO: test with other checksum types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: remove unused Transfer constructor argument
Ivailo Monev [Sun, 4 Jun 2023 09:26:01 +0000 (12:26 +0300)]
kget: remove unused Transfer constructor argument

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoark: remove now bogus compressAsRar popup menu action
Ivailo Monev [Fri, 2 Jun 2023 12:46:27 +0000 (15:46 +0300)]
ark: remove now bogus compressAsRar popup menu action

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoark: drop CLI interface and rar plugin
Ivailo Monev [Fri, 2 Jun 2023 12:32:18 +0000 (15:32 +0300)]
ark: drop CLI interface and rar plugin

hint: don't do interface on top of CLI tools, it is going to break under
your nose

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: adjust to Plasma::Service changes
Ivailo Monev [Fri, 2 Jun 2023 04:16:53 +0000 (07:16 +0300)]
generic: adjust to Plasma::Service changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: adjust to Plasma::ServiceJob changes
Ivailo Monev [Fri, 2 Jun 2023 00:08:24 +0000 (03:08 +0300)]
generic: adjust to Plasma::ServiceJob changes

drive-by formatting

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: minor JSON history store optimizations
Ivailo Monev [Thu, 1 Jun 2023 09:01:23 +0000 (12:01 +0300)]
kget: minor JSON history store optimizations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: use URL save ID appropriate for the POTD wallpaper plugin
Ivailo Monev [Thu, 1 Jun 2023 02:30:37 +0000 (05:30 +0300)]
kdeplasma-addons: use URL save ID appropriate for the POTD wallpaper plugin

there is a frame applet and the dialogs for the POTD wallpaper and frame
applet should not share the same save URL (questionably).

perhaps there should be feature to save the URL based on mime type group,
for example save "text/plain" and "text/x-patch" as the same URL for all
applications by default unless a custom save location has been specified
programatically

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: filter non-images from the POTD save dialog
Ivailo Monev [Thu, 1 Jun 2023 02:15:13 +0000 (05:15 +0300)]
kdeplasma-addons: filter non-images from the POTD save dialog

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: correct paste applet signal/slot connection
Ivailo Monev [Thu, 1 Jun 2023 01:36:10 +0000 (04:36 +0300)]
kdeplasma-addons: correct paste applet signal/slot connection

has been incorrect since before the fork

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: do not send F1-12 keys from paste applet
Ivailo Monev [Thu, 1 Jun 2023 01:10:49 +0000 (04:10 +0300)]
kdeplasma-addons: do not send F1-12 keys from paste applet

specials keys outside the Qt::Key_Space-Qt::Key_ydiaeresis range, Katie
uses values that equal those used by X11 for keys aswell (i.e. the map is
redundant)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: minor flicker POTD provider optimization
Ivailo Monev [Thu, 1 Jun 2023 00:08:28 +0000 (03:08 +0300)]
kdeplasma-addons: minor flicker POTD provider optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: query flickr POTD provider in JSON format
Ivailo Monev [Thu, 1 Jun 2023 00:02:32 +0000 (03:02 +0300)]
kdeplasma-addons: query flickr POTD provider in JSON format

hack included

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokget: set X-DBUS-StartupType and set X-DBUS-ServiceName
Ivailo Monev [Wed, 31 May 2023 22:17:22 +0000 (01:17 +0300)]
kget: set X-DBUS-StartupType and set X-DBUS-ServiceName

X-DBUS-ServiceType is invalid

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: remove unused QVarLengthArray header inclusions
Ivailo Monev [Tue, 30 May 2023 01:16:57 +0000 (04:16 +0300)]
kdeplasma-addons: remove unused QVarLengthArray header inclusions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokdeplasma-addons: drop unity support
Ivailo Monev [Sun, 28 May 2023 05:00:07 +0000 (08:00 +0300)]
kdeplasma-addons: drop unity support

makes no sense to support interface ment for other desktop environment
when the applet is ment for use with plasma session

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agookular: adjust to Katie changes
Ivailo Monev [Wed, 24 May 2023 20:36:29 +0000 (23:36 +0300)]
okular: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogewnview: adjust to Katie changes
Ivailo Monev [Wed, 24 May 2023 02:06:31 +0000 (05:06 +0300)]
gewnview: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
14 months agokdeplasma-addons: fix regression since a503038cdfdd486e27952f45c952747bb49ad4c0
Ivailo Monev [Sun, 21 May 2023 04:54:18 +0000 (07:54 +0300)]
kdeplasma-addons: fix regression since a503038cdfdd486e27952f45c952747bb49ad4c0

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
14 months agookular: simplify compressed MIME type checks
Ivailo Monev [Sun, 21 May 2023 04:41:36 +0000 (07:41 +0300)]
okular: simplify compressed MIME type checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
14 months agokdeplasma-addons: adjust to plasma changes
Ivailo Monev [Sat, 20 May 2023 02:24:52 +0000 (05:24 +0300)]
kdeplasma-addons: adjust to plasma changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
14 months agoark: reserve space for the files to copy/remove from libarchive plugin
Ivailo Monev [Fri, 19 May 2023 20:42:04 +0000 (23:42 +0300)]
ark: reserve space for the files to copy/remove from libarchive plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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>
19 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>