OSDN Git Service

kde/kde-workspace.git
2 years agokcontrol: Qt/KWinPalette group no longer affects Katie
Ivailo Monev [Sun, 5 Jun 2022 23:31:58 +0000 (02:31 +0300)]
kcontrol: Qt/KWinPalette group no longer affects Katie

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: adjust to kdelibs changes
Ivailo Monev [Sun, 5 Jun 2022 22:29:51 +0000 (01:29 +0300)]
plasma: adjust to kdelibs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: suspend PTY device before opening teletype
Ivailo Monev [Sun, 5 Jun 2022 20:08:28 +0000 (23:08 +0300)]
konsole: suspend PTY device before opening teletype

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agodolphin: do not add the expandable folder widget to the layout if it is null
Ivailo Monev [Sun, 5 Jun 2022 19:46:13 +0000 (22:46 +0300)]
dolphin: do not add the expandable folder widget to the layout if it is null

upstream commit:
https://github.com/KDE/dolphin/commit/9a957c3b5cec8cb369acc8388240ce718299bcd9

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: compiler warnings fixes
Ivailo Monev [Sun, 5 Jun 2022 19:06:42 +0000 (22:06 +0300)]
generic: compiler warnings fixes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: fix systemtray applet animation
Ivailo Monev [Sun, 5 Jun 2022 16:16:43 +0000 (19:16 +0300)]
plasma: fix systemtray applet animation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: zero-initialize the readlink() buffer in getSize() function
Ivailo Monev [Sat, 4 Jun 2022 17:32:15 +0000 (20:32 +0300)]
kcontrol: zero-initialize the readlink() buffer in getSize() function

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: remove oxygen-gtk style leftovers
Ivailo Monev [Fri, 3 Jun 2022 21:48:22 +0000 (00:48 +0300)]
kcontrol: remove oxygen-gtk style leftovers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokstyles: ensure gradient color position is positive
Ivailo Monev [Fri, 3 Jun 2022 21:20:47 +0000 (00:20 +0300)]
kstyles: ensure gradient color position is positive

fixes runtime warning when changing QDial widget value

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoksmserver: indent switch cases in KSMServer::resumeStartupInternal()
Ivailo Monev [Fri, 3 Jun 2022 14:05:42 +0000 (17:05 +0300)]
ksmserver: indent switch cases in KSMServer::resumeStartupInternal()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: remove unused QVector4D header inclusion
Ivailo Monev [Fri, 3 Jun 2022 13:22:33 +0000 (16:22 +0300)]
kwin: remove unused QVector4D header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: remove unused QMatrix4x4 and QVector2D header inclusions
Ivailo Monev [Fri, 3 Jun 2022 13:18:54 +0000 (16:18 +0300)]
kwin: remove unused QMatrix4x4 and QVector2D header inclusions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: replace hardcoded Pi/2 with definition from system math header
Ivailo Monev [Fri, 3 Jun 2022 13:18:35 +0000 (16:18 +0300)]
kwin: replace hardcoded Pi/2 with definition from system math header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: remove NFS template
Ivailo Monev [Fri, 3 Jun 2022 08:37:44 +0000 (11:37 +0300)]
libs: remove NFS template

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: drop SMB and NFS support
Ivailo Monev [Thu, 2 Jun 2022 23:03:34 +0000 (02:03 +0300)]
generic: drop SMB and NFS support

I cannot think of a use case for them with kdirshare service in place,
never needed to access one either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: adjust to Katie changes
Ivailo Monev [Thu, 2 Jun 2022 21:40:48 +0000 (00:40 +0300)]
kcontrol: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: update kioslave.kcfg file
Ivailo Monev [Thu, 2 Jun 2022 08:56:57 +0000 (11:56 +0300)]
kcontrol: update kioslave.kcfg file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: cast pointers with QObject as base class via qobject_cast<T>()
Ivailo Monev [Wed, 1 Jun 2022 18:36:17 +0000 (21:36 +0300)]
generic: cast pointers with QObject as base class via qobject_cast<T>()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: deactivate screen saver on start
Ivailo Monev [Wed, 1 Jun 2022 16:11:10 +0000 (19:11 +0300)]
kscreensaver: deactivate screen saver on start

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: minor optimizations
Ivailo Monev [Wed, 1 Jun 2022 14:19:44 +0000 (17:19 +0300)]
generic: minor optimizations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agodrkonqi: update external debuggers data files
Ivailo Monev [Wed, 1 Jun 2022 10:33:07 +0000 (13:33 +0300)]
drkonqi: update external debuggers data files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: remove now unused KUniqueApplication-related option
Ivailo Monev [Wed, 1 Jun 2022 10:31:56 +0000 (13:31 +0300)]
konsole: remove now unused KUniqueApplication-related option

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: X-DBUS-StartupType correction
Ivailo Monev [Wed, 1 Jun 2022 10:25:30 +0000 (13:25 +0300)]
konsole: X-DBUS-StartupType correction

it was not unique application and still isn't

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: use KApplication instead of KUniqueApplication
Ivailo Monev [Wed, 1 Jun 2022 10:13:42 +0000 (13:13 +0300)]
konsole: use KApplication instead of KUniqueApplication

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: remove check for arguments Katie no longer supports [ci reset]
Ivailo Monev [Tue, 31 May 2022 23:10:17 +0000 (02:10 +0300)]
konsole: remove check for arguments Katie no longer supports [ci reset]

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: initialize the start flags variable
Ivailo Monev [Tue, 31 May 2022 22:57:09 +0000 (01:57 +0300)]
konsole: initialize the start flags variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokonsole: do not use semantic markup in application name
Ivailo Monev [Tue, 31 May 2022 13:15:58 +0000 (16:15 +0300)]
konsole: do not use semantic markup in application name

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: remove docbookchapter file template
Ivailo Monev [Tue, 31 May 2022 07:09:26 +0000 (10:09 +0300)]
kate: remove docbookchapter file template

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: include now required QLibrary header
Ivailo Monev [Tue, 31 May 2022 06:51:16 +0000 (09:51 +0300)]
kwin: include now required QLibrary header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agosolid-networkstatus: remove Wicd status tracker
Ivailo Monev [Tue, 31 May 2022 06:15:07 +0000 (09:15 +0300)]
solid-networkstatus: remove Wicd status tracker

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: do not explicitly set codec from katencodingtest program
Ivailo Monev [Mon, 30 May 2022 07:35:21 +0000 (10:35 +0300)]
kate: do not explicitly set codec from katencodingtest program

if I set both the fallback and the codec to be used for saving I would not
expect Kate to automatically choose other encoding (there is already a
warning that data loss may occur if chosen encoding will not work). the
test is just bogus and there is no option to fallback to encoding that will
be able to save the data if the set encoding cannot encode the data - it is
explicitly chosen

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: do not associate tar protocol with non-standard application/x-webarchive...
Ivailo Monev [Sun, 29 May 2022 19:32:22 +0000 (22:32 +0300)]
kioslave: do not associate tar protocol with non-standard application/x-webarchive MIME type

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: remove now unused package checks
Ivailo Monev [Sun, 29 May 2022 18:20:08 +0000 (21:20 +0300)]
generic: remove now unused package checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: remove filter slave
Ivailo Monev [Sun, 29 May 2022 18:13:00 +0000 (21:13 +0300)]
kioslave: remove filter slave

none of the formats provides enough information to be worth implementing
stat() and listDir()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: remove broken uninstall kickoff action
Ivailo Monev [Sun, 29 May 2022 17:29:50 +0000 (20:29 +0300)]
plasma: remove broken uninstall kickoff action

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: remove unused WindowQuadList::makeInterleavedArrays() method
Ivailo Monev [Sun, 29 May 2022 15:30:09 +0000 (18:30 +0300)]
kwin: remove unused WindowQuadList::makeInterleavedArrays() method

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: trim the lines when reading files
Ivailo Monev [Sun, 29 May 2022 11:11:49 +0000 (14:11 +0300)]
generic: trim the lines when reading files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokuiserver: remove unused UiServer class
Ivailo Monev [Sun, 29 May 2022 09:32:36 +0000 (12:32 +0300)]
kuiserver: remove unused UiServer class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: optimize reading from files
Ivailo Monev [Sun, 29 May 2022 08:47:08 +0000 (11:47 +0300)]
generic: optimize reading from files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: do not down-cast the job to KIO::Job and up-cast it via qobject_cast<T>()
Ivailo Monev [Sun, 29 May 2022 04:53:49 +0000 (07:53 +0300)]
libs: do not down-cast the job to KIO::Job and up-cast it via qobject_cast<T>()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agodolphin: de-duplicate code
Ivailo Monev [Sun, 29 May 2022 04:53:03 +0000 (07:53 +0300)]
dolphin: de-duplicate code

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agodolphin: clear non-multimedia preview before showing new preview
Ivailo Monev [Sat, 28 May 2022 12:11:22 +0000 (15:11 +0300)]
dolphin: clear non-multimedia preview before showing new preview

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agodolphin: use KImageFilePreview to show preview for non-multimedia URLs
Ivailo Monev [Sat, 28 May 2022 12:03:18 +0000 (15:03 +0300)]
dolphin: use KImageFilePreview to show preview for non-multimedia URLs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: skip some tests if there is no window manager
Ivailo Monev [Sat, 28 May 2022 10:35:27 +0000 (13:35 +0300)]
kate: skip some tests if there is no window manager

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: build fix
Ivailo Monev [Sat, 28 May 2022 09:10:46 +0000 (12:10 +0300)]
kate: build fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: skip some tests if there is no window manager
Ivailo Monev [Sat, 28 May 2022 08:29:27 +0000 (11:29 +0300)]
kate: skip some tests if there is no window manager

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: fix possible completion test crashes
Ivailo Monev [Sat, 28 May 2022 08:09:02 +0000 (11:09 +0300)]
kate: fix possible completion test crashes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: explicitly convert to range and cursor objects
Ivailo Monev [Sat, 28 May 2022 06:59:41 +0000 (09:59 +0300)]
kate: explicitly convert to range and cursor objects

lots of opportunities for optimizations by caching the converted objects

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: require shared-mime-info v0.91+
Ivailo Monev [Fri, 27 May 2022 15:50:36 +0000 (18:50 +0300)]
generic: require shared-mime-info v0.91+

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: do not down-scale favicons images to 16x16
Ivailo Monev [Fri, 27 May 2022 05:26:43 +0000 (08:26 +0300)]
libs: do not down-scale favicons images to 16x16

https://www.ibm.com/favicon.ico is 32x32 for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: faster installation in AppVeyor environment
Ivailo Monev [Fri, 27 May 2022 05:02:52 +0000 (08:02 +0300)]
generic: faster installation in AppVeyor environment

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: skip favicon tests if images are not readable
Ivailo Monev [Fri, 27 May 2022 04:50:57 +0000 (07:50 +0300)]
libs: skip favicon tests if images are not readable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: use glob as MimeType to register imagethumbnail for all images MIME types
Ivailo Monev [Fri, 27 May 2022 04:13:25 +0000 (07:13 +0300)]
kioslave: use glob as MimeType to register imagethumbnail for all images MIME types

fixes thumbnail generation for HEIF images for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokate: set the stream codec once in TextBuffer::save()
Ivailo Monev [Fri, 27 May 2022 01:21:03 +0000 (04:21 +0300)]
kate: set the stream codec once in TextBuffer::save()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoksmserver: plug kcheckrunning leaks
Ivailo Monev [Thu, 26 May 2022 06:02:01 +0000 (09:02 +0300)]
ksmserver: plug kcheckrunning leaks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoksmserver: check for KDE_FULL_SESSION X11 atom from kcheckrunning
Ivailo Monev [Thu, 26 May 2022 06:00:13 +0000 (09:00 +0300)]
ksmserver: check for KDE_FULL_SESSION X11 atom from kcheckrunning

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoksmserver: oops, put back SIGPIPE to the ignored signals
Ivailo Monev [Thu, 26 May 2022 04:37:34 +0000 (07:37 +0300)]
ksmserver: oops, put back SIGPIPE to the ignored signals

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: disable session manager via SESSION_MANAGER environment variable unset too
Ivailo Monev [Thu, 26 May 2022 03:40:25 +0000 (06:40 +0300)]
generic: disable session manager via SESSION_MANAGER environment variable unset too

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: restore defaults to the fallback values used by the settings from the contr...
Ivailo Monev [Thu, 26 May 2022 02:24:44 +0000 (05:24 +0300)]
kgreeter: restore defaults to the fallback values used by the settings from the control module

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: use Oxygen_White as cursor theme by default
Ivailo Monev [Thu, 26 May 2022 02:09:02 +0000 (05:09 +0300)]
kgreeter: use Oxygen_White as cursor theme by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: call setIconForUrl() in the non-QEventLoop version of the favicons module test
Ivailo Monev [Thu, 26 May 2022 01:06:29 +0000 (04:06 +0300)]
libs: call setIconForUrl() in the non-QEventLoop version of the favicons module test

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: use KApplication::quitOnSignal() in kglobaaccel, knotify4 and kuiserver...
Ivailo Monev [Wed, 25 May 2022 23:44:21 +0000 (02:44 +0300)]
generic: use KApplication::quitOnSignal() in kglobaaccel, knotify4 and kuiserver to setup signals for application quit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: HTML output correction
Ivailo Monev [Wed, 25 May 2022 08:44:56 +0000 (11:44 +0300)]
kdirshare: HTML output correction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: prepare for KStandardDirs changes
Ivailo Monev [Wed, 25 May 2022 07:38:05 +0000 (10:38 +0300)]
generic: prepare for KStandardDirs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agostartkde: start ksmserver without kwrapper4
Ivailo Monev [Wed, 25 May 2022 05:56:33 +0000 (08:56 +0300)]
startkde: start ksmserver without kwrapper4

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agostartkde: adjust to kdelibs changes
Ivailo Monev [Wed, 25 May 2022 05:22:05 +0000 (08:22 +0300)]
startkde: adjust to kdelibs changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agostartkde: update comments
Ivailo Monev [Wed, 25 May 2022 02:49:06 +0000 (05:49 +0300)]
startkde: update comments

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agostartkde: remove check for now always empty dl variable
Ivailo Monev [Wed, 25 May 2022 02:17:34 +0000 (05:17 +0300)]
startkde: remove check for now always empty dl variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: adjust to special resources directories changes
Ivailo Monev [Wed, 25 May 2022 01:29:13 +0000 (04:29 +0300)]
generic: adjust to special resources directories changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agostartkde: export variables early and check PATH later
Ivailo Monev [Wed, 25 May 2022 00:23:46 +0000 (03:23 +0300)]
startkde: export variables early and check PATH later

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agostartkde: remove check for DESKTOP_LOCKED
Ivailo Monev [Wed, 25 May 2022 00:16:24 +0000 (03:16 +0300)]
startkde: remove check for DESKTOP_LOCKED

was set by KDM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: set X-DBUS-ServiceName key for kglobalaccel and kuiserver in the desktop...
Ivailo Monev [Tue, 24 May 2022 13:09:22 +0000 (16:09 +0300)]
generic: set X-DBUS-ServiceName key for kglobalaccel and kuiserver in the desktop files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: implement option to change the cursor theme
Ivailo Monev [Tue, 24 May 2022 12:20:56 +0000 (15:20 +0300)]
kgreeter: implement option to change the cursor theme

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: remove unused system service file for org.kde.fontinst
Ivailo Monev [Tue, 24 May 2022 11:28:39 +0000 (14:28 +0300)]
kcontrol: remove unused system service file for org.kde.fontinst

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: do not elevate privileges to send signals to processes
Ivailo Monev [Tue, 24 May 2022 10:00:41 +0000 (13:00 +0300)]
libs: do not elevate privileges to send signals to processes

the privilege elevation should ask for the password of the user that owns
the process to begin with not the other way around - `sudo` is asking me if
I know my password to kill `kwin` process of Bob? Yes, I do!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: comment correction
Ivailo Monev [Tue, 24 May 2022 09:44:33 +0000 (12:44 +0300)]
libs: comment correction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: do not use ksysguard helper for killing processes
Ivailo Monev [Tue, 24 May 2022 09:39:19 +0000 (12:39 +0300)]
kwin: do not use ksysguard helper for killing processes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: do not use ksysguard helper for killing processes and pop an error when the...
Ivailo Monev [Tue, 24 May 2022 09:38:08 +0000 (12:38 +0300)]
plasma: do not use ksysguard helper for killing processes and pop an error when the runner action fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoknotify: use KApplication instead of KUniqueApplication
Ivailo Monev [Tue, 24 May 2022 08:33:42 +0000 (11:33 +0300)]
knotify: use KApplication instead of KUniqueApplication

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokuiserver: use KApplication instead of KUniqueApplication
Ivailo Monev [Tue, 24 May 2022 08:04:00 +0000 (11:04 +0300)]
kuiserver: use KApplication instead of KUniqueApplication

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokglobalaccel: create KApplication instance before D-Bus connection
Ivailo Monev [Tue, 24 May 2022 07:58:58 +0000 (10:58 +0300)]
kglobalaccel: create KApplication instance before D-Bus connection

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: manually delete favicons module jobs
Ivailo Monev [Tue, 24 May 2022 07:22:02 +0000 (10:22 +0300)]
libs: manually delete favicons module jobs

fixes possible crash in case the job is automatically deleted and
KJob::errorString() is called to get the error

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: workaround for QSignalSpy in favicon test
Ivailo Monev [Tue, 24 May 2022 06:39:49 +0000 (09:39 +0300)]
libs: workaround for QSignalSpy in favicon test

TODO: reimplement QSignalSpy to use connections or just write a new class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: convert FavIconsModule::isIconOld() to static function
Ivailo Monev [Tue, 24 May 2022 06:32:44 +0000 (09:32 +0300)]
libs: convert FavIconsModule::isIconOld() to static function

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: declare download info struct as primitive and rename it
Ivailo Monev [Tue, 24 May 2022 06:19:23 +0000 (09:19 +0300)]
libs: declare download info struct as primitive and rename it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: connect to all favicons module signals in its test
Ivailo Monev [Tue, 24 May 2022 05:39:43 +0000 (08:39 +0300)]
libs: connect to all favicons module signals in its test

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: test favicons module with IP addresses
Ivailo Monev [Tue, 24 May 2022 05:06:19 +0000 (08:06 +0300)]
libs: test favicons module with IP addresses

requires:
https://github.com/fluxer/kdelibs/commit/38079e572cf1e40f6d5d2ec0b5d28e96f242b309

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokglobalaccel: use KApplication instead of KUniqueApplication
Ivailo Monev [Tue, 24 May 2022 03:37:13 +0000 (06:37 +0300)]
kglobalaccel: use KApplication instead of KUniqueApplication

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoksmserver: format and indent kcheckrunning source file
Ivailo Monev [Tue, 24 May 2022 03:31:01 +0000 (06:31 +0300)]
ksmserver: format and indent kcheckrunning source file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokglobalaccel: install D-Bus service file
Ivailo Monev [Mon, 23 May 2022 18:39:32 +0000 (21:39 +0300)]
kglobalaccel: install D-Bus service file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: remove redundant favicons memory cache
Ivailo Monev [Mon, 23 May 2022 06:04:20 +0000 (09:04 +0300)]
libs: remove redundant favicons memory cache

the cache is supposed to speed-up non-host icon lookups but it does so only
for the life-time of the module, it becomes cache miss as soon as the
module is unloaded since the cache is not restored by the module from the
FavIconsModule constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: favicons KDED module test re-write
Ivailo Monev [Mon, 23 May 2022 03:54:52 +0000 (06:54 +0300)]
libs: favicons KDED module test re-write

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: do not store the favicons cache directory
Ivailo Monev [Mon, 23 May 2022 02:25:14 +0000 (05:25 +0300)]
libs: do not store the favicons cache directory

KStandardDirs::saveLocation() will re-create it if it is deleted

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: warn when the image reader claims the data is readable but returns null image...
Ivailo Monev [Mon, 23 May 2022 01:35:12 +0000 (04:35 +0300)]
libs: warn when the image reader claims the data is readable but returns null image from favicon KDED module

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: warn when the image reader cannot read the favicon data
Ivailo Monev [Mon, 23 May 2022 01:32:23 +0000 (04:32 +0300)]
libs: warn when the image reader cannot read the favicon data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: fix possible favicons KDED module race-conditions
Ivailo Monev [Mon, 23 May 2022 01:04:45 +0000 (04:04 +0300)]
libs: fix possible favicons KDED module race-conditions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: kill the job immediately if the favicon is too big and remove it from the downl...
Ivailo Monev [Mon, 23 May 2022 00:58:22 +0000 (03:58 +0300)]
libs: kill the job immediately if the favicon is too big and remove it from the downloads queue

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: do not test canonical name if getaddrinfo() fails
Ivailo Monev [Sun, 22 May 2022 23:46:55 +0000 (02:46 +0300)]
kwin: do not test canonical name if getaddrinfo() fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: use QHostInfo::localHostName() to get the local host name
Ivailo Monev [Sun, 22 May 2022 23:42:46 +0000 (02:42 +0300)]
kwin: use QHostInfo::localHostName() to get the local host name

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: fix crash in case of getaddrinfo() failure in client machine test
Ivailo Monev [Sun, 22 May 2022 23:21:39 +0000 (02:21 +0300)]
kwin: fix crash in case of getaddrinfo() failure in client machine test

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