OSDN Git Service

kde/kde-workspace.git
2 years agokdirshare: move code for determening port number to server thread class
Ivailo Monev [Wed, 11 May 2022 17:16:45 +0000 (20:16 +0300)]
kdirshare: move code for determening port number to server thread class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: implement Mozilla Location Service provider for geolocation data engine
Ivailo Monev [Wed, 11 May 2022 13:48:42 +0000 (16:48 +0300)]
plasma: implement Mozilla Location Service provider for geolocation data engine

for reference:
https://github.com/fluxer/katana/issues/26

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: run each directory share server in its own thread
Ivailo Monev [Wed, 11 May 2022 12:59:26 +0000 (15:59 +0300)]
kdirshare: run each directory share server in its own thread

that way kded4 process will not be affected by server poll

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: minor review
Ivailo Monev [Wed, 11 May 2022 11:47:12 +0000 (14:47 +0300)]
kdirshare: minor review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: convert QString objects to UTF-8 when appending them to the content data
Ivailo Monev [Wed, 11 May 2022 11:40:21 +0000 (14:40 +0300)]
kdirshare: convert QString objects to UTF-8 when appending them to the content data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: output formatted HTML and title
Ivailo Monev [Wed, 11 May 2022 02:46:21 +0000 (05:46 +0300)]
kdirshare: output formatted HTML and title

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: fix pointer derefence on serve or publish error
Ivailo Monev [Wed, 11 May 2022 03:17:02 +0000 (03:17 +0000)]
kdirshare: fix pointer derefence on serve or publish error

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: fix possible crash in case of null KMimeType pointer
Ivailo Monev [Wed, 11 May 2022 01:03:49 +0000 (04:03 +0300)]
kdirshare: fix possible crash in case of null KMimeType pointer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agosoliduiserver: de-duplicate code
Ivailo Monev [Wed, 11 May 2022 00:31:02 +0000 (03:31 +0300)]
soliduiserver: de-duplicate code

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: set the service MIME type to "inode/vnd.kde.service.unknown" when it is...
Ivailo Monev [Tue, 10 May 2022 17:15:22 +0000 (17:15 +0000)]
kioslave: set the service MIME type to "inode/vnd.kde.service.unknown" when it is unknown from network slave

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: convert port numbers to uint when saving shares for KConfig cannot handle...
Ivailo Monev [Tue, 10 May 2022 13:12:46 +0000 (16:12 +0300)]
kdirshare: convert port numbers to uint when saving shares for KConfig cannot handle ushort/quint16

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: better content MIME type detection and fix for possible crash
Ivailo Monev [Tue, 10 May 2022 12:24:10 +0000 (15:24 +0300)]
kdirshare: better content MIME type detection and fix for possible crash

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: adjust to KHTTP changes
Ivailo Monev [Tue, 10 May 2022 11:52:32 +0000 (14:52 +0300)]
kdirshare: adjust to KHTTP changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: fix unshare
Ivailo Monev [Tue, 10 May 2022 10:37:29 +0000 (13:37 +0300)]
kdirshare: fix unshare

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: send 500 if icon pixmap saving fails
Ivailo Monev [Mon, 9 May 2022 23:47:21 +0000 (02:47 +0300)]
kdirshare: send 500 if icon pixmap saving fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: server optimizations
Ivailo Monev [Mon, 9 May 2022 23:44:48 +0000 (02:44 +0300)]
kdirshare: server optimizations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: send 500 if opening file fails
Ivailo Monev [Mon, 9 May 2022 22:58:01 +0000 (01:58 +0300)]
kdirshare: send 500 if opening file fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: better service publishing error reporting
Ivailo Monev [Mon, 9 May 2022 21:45:06 +0000 (00:45 +0300)]
kdirshare: better service publishing error reporting

requires:
https://github.com/fluxer/kdelibs/commit/23af14f8ed82b3d5923bca216fffb717b6b87c0e

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: fix directory sharing of directories with long basename and share name...
Ivailo Monev [Mon, 9 May 2022 20:40:32 +0000 (23:40 +0300)]
kdirshare: fix directory sharing of directories with long basename and share name for hidden directories

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: fix directory shares restoration on startup
Ivailo Monev [Mon, 9 May 2022 20:39:06 +0000 (23:39 +0300)]
kdirshare: fix directory shares restoration on startup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: notify when directory sharing on startup fails
Ivailo Monev [Mon, 9 May 2022 19:15:16 +0000 (22:15 +0300)]
kdirshare: notify when directory sharing on startup fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: implement option to control the shared directories server port
Ivailo Monev [Mon, 9 May 2022 18:50:00 +0000 (21:50 +0300)]
kdirshare: implement option to control the shared directories server port

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: minor review
Ivailo Monev [Mon, 9 May 2022 16:04:29 +0000 (19:04 +0300)]
kdirshare: minor review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: fix possible crash in case of null KMimeType pointer in network slave
Ivailo Monev [Mon, 9 May 2022 15:55:05 +0000 (18:55 +0300)]
kioslave: fix possible crash in case of null KMimeType pointer in network slave

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: stop the server if service publishing fails
Ivailo Monev [Mon, 9 May 2022 15:52:51 +0000 (18:52 +0300)]
kdirshare: stop the server if service publishing fails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokdirshare: new KDED module and file properties plugin for directory sharing
Ivailo Monev [Mon, 9 May 2022 12:35:44 +0000 (15:35 +0300)]
kdirshare: new KDED module and file properties plugin for directory sharing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: terminate the xscreensaver-command process before deleting it
Ivailo Monev [Sat, 7 May 2022 21:36:54 +0000 (00:36 +0300)]
kscreensaver: terminate the xscreensaver-command process before deleting it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: discard thumbnail from Exiv2 metadata if it is smaller than the requested...
Ivailo Monev [Sat, 7 May 2022 20:16:01 +0000 (23:16 +0300)]
kioslave: discard thumbnail from Exiv2 metadata if it is smaller than the requested size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agosoliduiserver: copyright correction
Ivailo Monev [Sat, 7 May 2022 19:32:02 +0000 (22:32 +0300)]
soliduiserver: copyright correction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agosoliduiserver: implement network share mounting
Ivailo Monev [Sat, 7 May 2022 16:29:20 +0000 (19:29 +0300)]
soliduiserver: implement network share mounting

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agosoliduiserver: store the filesystem match string outside the loop
Ivailo Monev [Sat, 7 May 2022 13:58:36 +0000 (16:58 +0300)]
soliduiserver: store the filesystem match string outside the loop

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agosoliduiserver: mount devices via mount() and unmount them via umount2() functions...
Ivailo Monev [Sat, 7 May 2022 13:53:37 +0000 (16:53 +0300)]
soliduiserver: mount devices via mount() and unmount them via umount2() functions on Linux

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: move to kde-playground
Ivailo Monev [Sat, 7 May 2022 10:56:11 +0000 (13:56 +0300)]
kfirewall: move to kde-playground

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: do not generate duplicate rules for non-port rules
Ivailo Monev [Sat, 7 May 2022 10:44:37 +0000 (13:44 +0300)]
kfirewall: do not generate duplicate rules for non-port rules

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: generate rule for UDP protocol too
Ivailo Monev [Sat, 7 May 2022 09:51:39 +0000 (12:51 +0300)]
kfirewall: generate rule for UDP protocol too

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: kill the xscreensaver daemon process after disconnecting the state...
Ivailo Monev [Sat, 7 May 2022 00:01:04 +0000 (03:01 +0300)]
kscreensaver: kill the xscreensaver daemon process after disconnecting the state tracker

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: move variable closer to the scope its usage
Ivailo Monev [Sat, 7 May 2022 00:00:29 +0000 (03:00 +0300)]
kfirewall: move variable closer to the scope its usage

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: do not convert the address to upper-case in the helper
Ivailo Monev [Fri, 6 May 2022 23:27:19 +0000 (02:27 +0300)]
kfirewall: do not convert the address to upper-case in the helper

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agodrkonqi: Qt is no longer supported
Ivailo Monev [Fri, 6 May 2022 23:13:35 +0000 (02:13 +0300)]
drkonqi: Qt is no longer supported

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: disable control module UI widgets if iptables is not available
Ivailo Monev [Sat, 7 May 2022 00:39:40 +0000 (00:39 +0000)]
kfirewall: disable control module UI widgets if iptables is not available

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: build and install only on Linux
Ivailo Monev [Fri, 6 May 2022 22:07:12 +0000 (01:07 +0300)]
kfirewall: build and install only on Linux

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: kill xscreensaver daemon process from KScreenSaver destructor
Ivailo Monev [Fri, 6 May 2022 21:56:33 +0000 (00:56 +0300)]
kscreensaver: kill xscreensaver daemon process from KScreenSaver destructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: pass long options to iptables
Ivailo Monev [Fri, 6 May 2022 21:48:55 +0000 (00:48 +0300)]
kfirewall: pass long options to iptables

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: clear settings map before reading settings
Ivailo Monev [Fri, 6 May 2022 21:25:34 +0000 (00:25 +0300)]
kfirewall: clear settings map before reading settings

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: do not error out on empty rules
Ivailo Monev [Fri, 6 May 2022 21:16:49 +0000 (00:16 +0300)]
kfirewall: do not error out on empty rules

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: fix inbound traffic rules generation
Ivailo Monev [Fri, 6 May 2022 21:05:54 +0000 (00:05 +0300)]
kfirewall: fix inbound traffic rules generation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokfirewall: new control module and service, implemented via iptables
Ivailo Monev [Fri, 6 May 2022 14:58:52 +0000 (17:58 +0300)]
kfirewall: new control module and service, implemented via iptables

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: assume all module sections can have more than one entry
Ivailo Monev [Fri, 6 May 2022 13:12:43 +0000 (16:12 +0300)]
kinfocenter: assume all module sections can have more than one entry

snd_soc_core has two different descriptions and two same license and author
sections for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: remove invalid and unused network MIME types
Ivailo Monev [Fri, 6 May 2022 11:39:15 +0000 (14:39 +0300)]
kioslave: remove invalid and unused network MIME types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: use icons provided by ariya-icons for network MIME types
Ivailo Monev [Fri, 6 May 2022 09:28:05 +0000 (12:28 +0300)]
kioslave: use icons provided by ariya-icons for network MIME types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: remove unused network MIME types
Ivailo Monev [Fri, 6 May 2022 09:19:32 +0000 (12:19 +0300)]
kioslave: remove unused network MIME types

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: redirect sftp-ssh service URLs to sftp slave from network slave
Ivailo Monev [Fri, 6 May 2022 01:35:54 +0000 (01:35 +0000)]
kioslave: redirect sftp-ssh service URLs to sftp slave from network slave

2 years agokioslave: rfb compatibility bits for network slave
Ivailo Monev [Thu, 5 May 2022 21:47:42 +0000 (00:47 +0300)]
kioslave: rfb compatibility bits for network slave

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokioslave: set the icon for the service to the one set in the MIME type from the netwo...
Ivailo Monev [Thu, 5 May 2022 19:51:04 +0000 (22:51 +0300)]
kioslave: set the icon for the service to the one set in the MIME type from the network KIO slave

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agogeneric: ajdust to kdnssd library changes
Ivailo Monev [Thu, 5 May 2022 19:20:45 +0000 (22:20 +0300)]
generic: ajdust to kdnssd library changes

2 years agokgreeter: start glib poll timer after the greeter has been setup
Ivailo Monev [Thu, 5 May 2022 11:38:39 +0000 (14:38 +0300)]
kgreeter: start glib poll timer after the greeter has been setup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: invalidate the active timer from KScreenSaver constructor
Ivailo Monev [Mon, 2 May 2022 22:21:55 +0000 (01:21 +0300)]
kscreensaver: invalidate the active timer from KScreenSaver constructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokwin: remove non-operational screen locking prevention action
Ivailo Monev [Mon, 2 May 2022 17:23:39 +0000 (20:23 +0300)]
kwin: remove non-operational screen locking prevention action

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoksysguard: adjust ksysguardd test to kdelibs changes
Ivailo Monev [Sun, 1 May 2022 17:53:13 +0000 (20:53 +0300)]
ksysguard: adjust ksysguardd test to kdelibs changes

for reference:
https://github.com/fluxer/kdelibs/commit/107a01f0e05712fd10089f3f2322b13e21d3d127

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: update note about joystick device driver
Ivailo Monev [Sun, 1 May 2022 15:24:10 +0000 (18:24 +0300)]
kcontrol: update note about joystick device driver

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: remove __STRICT_ANSI__ override
Ivailo Monev [Sun, 1 May 2022 15:23:02 +0000 (18:23 +0300)]
kcontrol: remove __STRICT_ANSI__ override

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: new kernel module
Ivailo Monev [Sun, 1 May 2022 11:18:39 +0000 (14:18 +0300)]
kinfocenter: new kernel module

requires:
https://github.com/fluxer/kdelibs/commit/b089f32459b6bbb43aa07da25233c4f16df34dfe

warns about (possibly) missing firmwares too:
https://ibb.co/HKggFvr

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: remove unused QProcess header inclusion
Ivailo Monev [Sun, 1 May 2022 09:59:18 +0000 (12:59 +0300)]
kinfocenter: remove unused QProcess header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: fix usbview module devices refreshing
Ivailo Monev [Sat, 30 Apr 2022 13:42:05 +0000 (16:42 +0300)]
kinfocenter: fix usbview module devices refreshing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: minor review
Ivailo Monev [Fri, 29 Apr 2022 11:45:19 +0000 (14:45 +0300)]
kgreeter: minor review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: port usbview module to KDeviceDatabase
Ivailo Monev [Fri, 29 Apr 2022 11:40:58 +0000 (14:40 +0300)]
kinfocenter: port usbview module to KDeviceDatabase

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: check libusb functions return values from usbview module
Ivailo Monev [Fri, 29 Apr 2022 06:12:16 +0000 (09:12 +0300)]
kinfocenter: check libusb functions return values from usbview module

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: unreference the glib loop from KGreeter destructor
Ivailo Monev [Fri, 29 Apr 2022 05:41:55 +0000 (08:41 +0300)]
kgreeter: unreference the glib loop from KGreeter destructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: unreference the glib loop before quit
Ivailo Monev [Thu, 28 Apr 2022 17:03:36 +0000 (20:03 +0300)]
kgreeter: unreference the glib loop before quit

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: replace hard-coded signal number with definition in kill runner
Ivailo Monev [Thu, 28 Apr 2022 16:48:31 +0000 (19:48 +0300)]
plasma: replace hard-coded signal number with definition in kill runner

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: smooth-scale the background image
Ivailo Monev [Thu, 28 Apr 2022 15:43:40 +0000 (18:43 +0300)]
kgreeter: smooth-scale the background image

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokrunner: use translucent background image if compositing is active, panel background...
Ivailo Monev [Thu, 28 Apr 2022 11:28:00 +0000 (14:28 +0300)]
krunner: use translucent background image if compositing is active, panel background otherwise

fixes background transparency with some themes like air for notebooks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: remove now unused StringStringMap metatype
Ivailo Monev [Thu, 28 Apr 2022 09:55:31 +0000 (12:55 +0300)]
plasma: remove now unused StringStringMap metatype

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: const-ify variable
Ivailo Monev [Thu, 28 Apr 2022 09:53:37 +0000 (12:53 +0300)]
kscreensaver: const-ify variable

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: minor KDisplayManager review
Ivailo Monev [Thu, 28 Apr 2022 09:53:17 +0000 (12:53 +0300)]
libs: minor KDisplayManager review

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: ignore inactive sessions in KDisplayManager::localSessions()
Ivailo Monev [Thu, 28 Apr 2022 09:25:47 +0000 (12:25 +0300)]
libs: ignore inactive sessions in KDisplayManager::localSessions()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: double the glib poll time
Ivailo Monev [Thu, 28 Apr 2022 09:02:15 +0000 (12:02 +0300)]
kgreeter: double the glib poll time

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: do not propagate own timer event to the main window
Ivailo Monev [Thu, 28 Apr 2022 08:44:19 +0000 (11:44 +0300)]
kgreeter: do not propagate own timer event to the main window

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: pre-scale and cache the scaled background image
Ivailo Monev [Thu, 28 Apr 2022 08:32:53 +0000 (11:32 +0300)]
kgreeter: pre-scale and cache the scaled background image

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: cache the scaled rectangle image
Ivailo Monev [Thu, 28 Apr 2022 07:55:37 +0000 (10:55 +0300)]
kgreeter: cache the scaled rectangle image

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokcontrol: remove check if lid is closed
Ivailo Monev [Thu, 28 Apr 2022 06:00:23 +0000 (09:00 +0300)]
kcontrol: remove check if lid is closed

since the randr module methods are not D-Bus exported there is (normally)
no way for a user to interact with the action and trigger display switch,
the system may even be suspended while the lid is closed. there is also the
case where the laptop screen is not used (external monitor is used), lid is
closed, the system is not suspended and a switch has to happen from the
external monitor to the laptop screen because the external monitor is
unplugged. the check is just bogus for many cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: correct variable initialization
Ivailo Monev [Thu, 28 Apr 2022 05:52:11 +0000 (08:52 +0300)]
kscreensaver: correct variable initialization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoMerge branch 'master' of ssh://github.com/fluxer/kde-workspace
Ivailo Monev [Wed, 27 Apr 2022 20:53:44 +0000 (23:53 +0300)]
Merge branch 'master' of ssh://github.com/fluxer/kde-workspace

2 years agolibs: remove unused configuration checks
Ivailo Monev [Wed, 27 Apr 2022 20:53:31 +0000 (23:53 +0300)]
libs: remove unused configuration checks

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: fix ConsoleKit fallback in KDisplayManager::isSwitchable()
Ivailo Monev [Wed, 27 Apr 2022 20:07:26 +0000 (23:07 +0300)]
libs: fix ConsoleKit fallback in KDisplayManager::isSwitchable()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: fallback to ConsoleKit in KDisplayManager
Ivailo Monev [Wed, 27 Apr 2022 19:52:38 +0000 (22:52 +0300)]
libs: fallback to ConsoleKit in KDisplayManager

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agolibs: reimplement KDisplayManager
Ivailo Monev [Wed, 27 Apr 2022 18:52:32 +0000 (21:52 +0300)]
libs: reimplement KDisplayManager

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: implement exporting of information for currently selected device item...
Ivailo Monev [Wed, 27 Apr 2022 15:29:44 +0000 (18:29 +0300)]
kinfocenter: implement exporting of information for currently selected device item from usbview module

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: show information message when exporting is complete
Ivailo Monev [Wed, 27 Apr 2022 16:09:49 +0000 (16:09 +0000)]
kinfocenter: show information message when exporting is complete

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: pci module does not require X11 libraries
Ivailo Monev [Wed, 27 Apr 2022 15:35:45 +0000 (15:35 +0000)]
kinfocenter: pci module does not require X11 libraries

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: remove hidden and disabled by default option to show show remaining time
Ivailo Monev [Wed, 27 Apr 2022 11:59:10 +0000 (14:59 +0300)]
plasma: remove hidden and disabled by default option to show show remaining time

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: remove unused header inclusion
Ivailo Monev [Wed, 27 Apr 2022 11:05:30 +0000 (14:05 +0300)]
kinfocenter: remove unused header inclusion

works as intended:
https://ibb.co/3vhjTrD

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: check parents one-level deeper from usbview module
Ivailo Monev [Wed, 27 Apr 2022 10:40:14 +0000 (13:40 +0300)]
kinfocenter: check parents one-level deeper from usbview module

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: usbview module build fix for FreeBSD
Ivailo Monev [Wed, 27 Apr 2022 08:01:59 +0000 (11:01 +0300)]
kinfocenter: usbview module build fix for FreeBSD

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokinfocenter: reimplement usbview module via libusb
Ivailo Monev [Wed, 27 Apr 2022 07:46:45 +0000 (10:46 +0300)]
kinfocenter: reimplement usbview module via libusb

now it will function on non-Linux hosts too

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokgreeter: use Plasma default theme wallpaper and rectangle image by default
Ivailo Monev [Tue, 26 Apr 2022 08:02:28 +0000 (11:02 +0300)]
kgreeter: use Plasma default theme wallpaper and rectangle image by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: do not emit useless data from hostip geolocation provider
Ivailo Monev [Tue, 26 Apr 2022 03:59:05 +0000 (06:59 +0300)]
plasma: do not emit useless data from hostip geolocation provider

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agoplasma: deal with TODO [ci skip]
Ivailo Monev [Mon, 25 Apr 2022 16:20:12 +0000 (19:20 +0300)]
plasma: deal with TODO [ci skip]

brute-force guess:
curl ipinfo.io/json
{
  "ip": "xx.xx.xx.xx",
  "city": "Dve Mogili",
  "region": "Ruse",
  "country": "BG",
  "loc": "43.5926,25.8749",
  "org": "AS59900 Balkan Internet Exchange Ltd",
  "postal": "7158",
  "timezone": "Europe/Sofia",
  "readme": "https://ipinfo.io/missingauth"
}

smil3y@debian:~$ curl http://www.geoplugin.net/json.gp
{
  "geoplugin_request":"xx.xx.xx.xx",
  "geoplugin_status":200,
  "geoplugin_delay":"2ms",
  "geoplugin_credit":"Some of the returned data includes GeoLite data created by MaxMind, available from <a href='http:\/\/www.maxmind.com'>http:\/\/www.maxmind.com<\/a>.",
  "geoplugin_city":"Byala",
  "geoplugin_region":"Ruse",
  "geoplugin_regionCode":"18",
  "geoplugin_regionName":"Ruse",
  "geoplugin_areaCode":"",
  "geoplugin_dmaCode":"",
  "geoplugin_countryCode":"BG",
  "geoplugin_countryName":"Bulgaria",
  "geoplugin_inEU":1,
  "geoplugin_euVATrate":20,
  "geoplugin_continentCode":"EU",
  "geoplugin_continentName":"Europe",
  "geoplugin_latitude":"43.4465",
  "geoplugin_longitude":"25.7358",
  "geoplugin_locationAccuracyRadius":"1",
  "geoplugin_timezone":"Europe\/Sofia",
  "geoplugin_currencyCode":"BGN",
  "geoplugin_currencySymbol":"лв",
  "geoplugin_currencySymbol_UTF8":"лв",
  "geoplugin_currencyConverter":1.812
}

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: fallback to ConsoleKit for (un)lock signal
Ivailo Monev [Mon, 25 Apr 2022 15:35:09 +0000 (18:35 +0300)]
kscreensaver: fallback to ConsoleKit for (un)lock signal

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2 years agokscreensaver: implement locking and unlocking on session manager signals
Ivailo Monev [Mon, 25 Apr 2022 14:23:17 +0000 (17:23 +0300)]
kscreensaver: implement locking and unlocking on session manager signals

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