OSDN Git Service

kde/kde-workspace.git
12 months agokcontrol: format and indent
Ivailo Monev [Sun, 30 Jul 2023 02:08:18 +0000 (05:08 +0300)]
kcontrol: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: implement basic format validator for locale KCM
Ivailo Monev [Sun, 30 Jul 2023 01:08:50 +0000 (04:08 +0300)]
kcontrol: implement basic format validator for locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: do not write default values to the config from locale KCM
Ivailo Monev [Sun, 30 Jul 2023 00:04:48 +0000 (03:04 +0300)]
kcontrol: do not write default values to the config from locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: link widget plugins to KtUiTools component
Ivailo Monev [Sat, 29 Jul 2023 19:54:28 +0000 (22:54 +0300)]
libs: link widget plugins to KtUiTools component

for the reference to QCustomWidget, fixes loading of the plugins

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: build fix
Ivailo Monev [Sat, 29 Jul 2023 18:31:09 +0000 (21:31 +0300)]
plasma: build fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove unused kcfg files
Ivailo Monev [Sat, 29 Jul 2023 17:35:22 +0000 (20:35 +0300)]
kcontrol: remove unused kcfg files

note that the config group name in the kcfg files was "DesktopIcons"
while in kcontrol/kio/netpref.cpp it is empty string

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokuiserver: update Messages.sh script
Ivailo Monev [Sat, 29 Jul 2023 17:31:11 +0000 (20:31 +0300)]
kuiserver: update Messages.sh script

for reference:
311ddf7016f21a988fffcc906fbe216e8756f512

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokeditbookmarks: use the same config group as before 1a2cc4e2baca53022b14c06dba6dbe00d...
Ivailo Monev [Sat, 29 Jul 2023 17:30:35 +0000 (20:30 +0300)]
keditbookmarks: use the same config group as before 1a2cc4e2baca53022b14c06dba6dbe00d47ec700

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokioslave: discard the data buffer and pixmap once text thumbnail is created
Ivailo Monev [Sat, 29 Jul 2023 17:21:48 +0000 (20:21 +0300)]
kioslave: discard the data buffer and pixmap once text thumbnail is created

to reclaim the memory allocated

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokioslave: copyright imagecreator to me
Ivailo Monev [Sat, 29 Jul 2023 17:15:44 +0000 (20:15 +0300)]
kioslave: copyright imagecreator to me

implemented rotation (with configuration interface), updated MIME types,
etc. for reference:
fce69c3dc4a806d11fdee7289b88f193242569d1

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokuiserver: remove unused kcfg files
Ivailo Monev [Sat, 29 Jul 2023 17:03:43 +0000 (20:03 +0300)]
kuiserver: remove unused kcfg files

kuiserver is no configurable, the notifications plasma applet (which
shows jobs progress) is tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokeditbookmars: use KConfig instance to save column sizes
Ivailo Monev [Sat, 29 Jul 2023 16:56:45 +0000 (19:56 +0300)]
keditbookmars: use KConfig instance to save column sizes

no functional change, no reason to use kcfg files for it either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: drop the automatic update feature of Plasma::Calendar
Ivailo Monev [Sat, 29 Jul 2023 09:12:30 +0000 (12:12 +0300)]
libs: drop the automatic update feature of Plasma::Calendar

only Plasma::ClockApplet uses the Plasma::Calendar class and it disables
automatic updates (because the date comes from data engine). also due to
7819796c556a94ad57ef9a126cab072e247658bd the date is updated once a second
which was updating the currently selected date thus interfering with date
selection every second so the check that was removed in
d7d63a156bc0b49bbc27b80b5e38ced429470127 had to be brought back

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove redundant plasma-desktop shell config
Ivailo Monev [Sat, 29 Jul 2023 08:27:27 +0000 (11:27 +0300)]
plasma: remove redundant plasma-desktop shell config

the default Plasma::Theme font is already set to QApplication::font() by
Plasma::Theme itself, it has configuration option for it too which is to
read the font setting from the application "General" config group. for
reference:
kdelibs/plasma/theme.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokstyles: remove unused AnimationSteps config option
Ivailo Monev [Sat, 29 Jul 2023 08:17:45 +0000 (11:17 +0300)]
kstyles: remove unused AnimationSteps config option

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoklipper: remove unused dummy config option
Ivailo Monev [Sat, 29 Jul 2023 08:11:05 +0000 (11:11 +0300)]
klipper: remove unused dummy config option

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdepasswd: remove unused and private PtyProcess::m_Command member
Ivailo Monev [Sat, 29 Jul 2023 08:08:26 +0000 (11:08 +0300)]
kdepasswd: remove unused and private PtyProcess::m_Command member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdepasswd: format and indent
Ivailo Monev [Sat, 29 Jul 2023 08:05:35 +0000 (11:05 +0300)]
kdepasswd: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdepasswd: remove unused config options
Ivailo Monev [Sat, 29 Jul 2023 07:36:43 +0000 (10:36 +0300)]
kdepasswd: remove unused config options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokwin: remove useless comment in KWin::Options::updateSettings()
Ivailo Monev [Sat, 29 Jul 2023 07:11:21 +0000 (10:11 +0300)]
kwin: remove useless comment in KWin::Options::updateSettings()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agosolid-device-automounter: format and indent
Ivailo Monev [Sat, 29 Jul 2023 06:46:56 +0000 (09:46 +0300)]
solid-device-automounter: format and indent

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokfind: remove non-operational bits
Ivailo Monev [Sat, 29 Jul 2023 00:18:44 +0000 (03:18 +0300)]
kfind: remove non-operational bits

see the following commit in kdelibs repo:
a2e6cb8a18dcdab4dea6ef42ea16cfb9c776e171

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokate: remove unused header inclusion
Ivailo Monev [Sat, 29 Jul 2023 00:03:54 +0000 (03:03 +0300)]
kate: remove unused header inclusion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: point to the QDateTime documentation from locale KCM
Ivailo Monev [Fri, 28 Jul 2023 21:52:57 +0000 (00:52 +0300)]
kcontrol: point to the QDateTime documentation from locale KCM

and it is that simple - RTFM!

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: adjust expected data in KSignalPlotter tests
Ivailo Monev [Fri, 28 Jul 2023 11:39:12 +0000 (14:39 +0300)]
libs: adjust expected data in KSignalPlotter tests

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokwin: fix test failure in case locale is not the default
Ivailo Monev [Fri, 28 Jul 2023 11:03:41 +0000 (14:03 +0300)]
kwin: fix test failure in case locale is not the default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: adjust to KLocale changes
Ivailo Monev [Fri, 28 Jul 2023 10:02:14 +0000 (13:02 +0300)]
plasma: adjust to KLocale changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: replace the seconds option with time format
Ivailo Monev [Thu, 27 Jul 2023 21:11:05 +0000 (00:11 +0300)]
plasma: replace the seconds option with time format

this essentially extends the digital clock options to 3 formats which are
also configurable instead of using a hardcoded format (the old
implementation), that ofcourse means an update has to be done every
second (or even milisecond) because the format is unknown to the digital
clock applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: do not use assignment for KConfig object in locale KCM
Ivailo Monev [Thu, 27 Jul 2023 21:08:23 +0000 (00:08 +0300)]
kcontrol: do not use assignment for KConfig object in locale KCM

triggers delete of KConfig object

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: filter "C" language in locale KCM
Ivailo Monev [Thu, 27 Jul 2023 05:02:56 +0000 (08:02 +0300)]
kcontrol: filter "C" language in locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: sort languages by the displayed text in locale KCM
Ivailo Monev [Thu, 27 Jul 2023 04:58:13 +0000 (07:58 +0300)]
kcontrol: sort languages by the displayed text in locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: add TODO for locale KCM
Ivailo Monev [Thu, 27 Jul 2023 00:08:50 +0000 (03:08 +0300)]
kcontrol: add TODO for locale KCM

one of the things the previous implemented was not doing, can be done
via QValidator-derived class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: align locale KCM date and time labels such that the width matches
Ivailo Monev [Wed, 26 Jul 2023 23:57:02 +0000 (02:57 +0300)]
kcontrol: align locale KCM date and time labels such that the width matches

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: change the measurement system on locale KCM language change
Ivailo Monev [Wed, 26 Jul 2023 22:07:39 +0000 (01:07 +0300)]
kcontrol: change the measurement system on locale KCM language change

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: time and datetime format interface for locale KCM
Ivailo Monev [Wed, 26 Jul 2023 22:00:36 +0000 (01:00 +0300)]
kcontrol: time and datetime format interface for locale KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KLocale changes
Ivailo Monev [Wed, 26 Jul 2023 06:52:37 +0000 (09:52 +0300)]
generic: adjust to KLocale changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: propagate focus event from Plasma::ClockApplet
Ivailo Monev [Mon, 24 Jul 2023 17:53:52 +0000 (20:53 +0300)]
libs: propagate focus event from Plasma::ClockApplet

goes like this:
Plasma::ClockApplet -> Plasma::Calendar -> Plasma::CalendarWidget -> ...

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: update the current date of Plasma::Calendar from Plasma::Calendar::setDate()
Ivailo Monev [Mon, 24 Jul 2023 17:32:32 +0000 (20:32 +0300)]
libs: update the current date of Plasma::Calendar from Plasma::Calendar::setDate()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: do not set the minimum size of Plasma::Calendar
Ivailo Monev [Mon, 24 Jul 2023 06:18:20 +0000 (09:18 +0300)]
plasma: do not set the minimum size of Plasma::Calendar

already done by Plasma::Calendar itself

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: do not setup the clock applet as passive popup
Ivailo Monev [Mon, 24 Jul 2023 05:53:54 +0000 (08:53 +0300)]
libs: do not setup the clock applet as passive popup

two reasons for that - one is that no other applet does that (e.g. battery
and device applets dissapear once focus is lost) and second being that
passive popups are documented as non-focus stealing applets but the
calendar widget accepts key and mouse events (for various reasons) thus
stealing the focus to process key and mouse events is abosolutely ok

also the minium and preferred size are set by Plasma::Calendar

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: convert krdb to standalone program
Ivailo Monev [Mon, 24 Jul 2023 05:02:30 +0000 (08:02 +0300)]
kcontrol: convert krdb to standalone program

fixes some race-conditions, for reference:
9ed7286504817aa451f544bf7f388d0eaab1af34

also the exit() call in case of failure to open the temporary file would
exit the program calling runRdb() (systemsettings for example) with
status 0 (normal, when an error ocurred), that is no longer the case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: adjust the minimum and preferred size of Plasma::Calendar widget
Ivailo Monev [Sun, 23 Jul 2023 21:46:18 +0000 (00:46 +0300)]
libs: adjust the minimum and preferred size of Plasma::Calendar widget

both to fit default configuration, font size not taken into account but it
was so before. resizing the widget is an option (the plasma applets and the
calendar that pops from the date on the panel are resizeble)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: UIC warning fix
Ivailo Monev [Sun, 23 Jul 2023 20:32:24 +0000 (23:32 +0300)]
kcontrol: UIC warning fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agol10n: adjust to KLocale and KCalendarSystem changes
Ivailo Monev [Sun, 23 Jul 2023 19:36:04 +0000 (22:36 +0300)]
l10n: adjust to KLocale and KCalendarSystem changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove declaration of now non-existing Plasma::Calendar::manualDateChange(...
Ivailo Monev [Sun, 23 Jul 2023 18:07:29 +0000 (21:07 +0300)]
libs: remove declaration of now non-existing Plasma::Calendar::manualDateChange() slot

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: beep when an attempt is made to set the Plasma::Calendar date to invalid
Ivailo Monev [Sun, 23 Jul 2023 17:14:28 +0000 (20:14 +0300)]
libs: beep when an attempt is made to set the Plasma::Calendar date to invalid

like KDatePicker did

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: do not handle key events in Plasma::Calendar
Ivailo Monev [Sun, 23 Jul 2023 16:40:04 +0000 (19:40 +0300)]
libs: do not handle key events in Plasma::Calendar

QCalendarWidget already does handle some, including date input via number
keys (Qt::Key_0 to Qt::Key_9)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: do not grab and ugrab the keyboard from the calendar focus change events
Ivailo Monev [Sun, 23 Jul 2023 15:40:32 +0000 (18:40 +0300)]
libs: do not grab and ugrab the keyboard from the calendar focus change events

QCalendardWidget (and consequently KCalendarWidget) focus policy is set to
Qt::StrongFocus by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove inclusion of now gone kdatepicker header
Ivailo Monev [Sun, 23 Jul 2023 08:48:54 +0000 (11:48 +0300)]
kcontrol: remove inclusion of now gone kdatepicker header

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: port to the new calendar widget classes
Ivailo Monev [Sun, 23 Jul 2023 08:36:30 +0000 (11:36 +0300)]
libs: port to the new calendar widget classes

slick:
https://ibb.co/Vg1TyM2

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove holiday events support leftovers
Ivailo Monev [Sun, 23 Jul 2023 05:23:37 +0000 (08:23 +0300)]
libs: remove holiday events support leftovers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KLocale changes
Ivailo Monev [Sun, 23 Jul 2023 04:54:40 +0000 (07:54 +0300)]
generic: adjust to KLocale changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: port to the new KCalendarWidget class
Ivailo Monev [Sun, 23 Jul 2023 02:52:55 +0000 (05:52 +0300)]
generic: port to the new KCalendarWidget class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: replace use of KLocalizedDate with more direct calls
Ivailo Monev [Sun, 23 Jul 2023 00:33:20 +0000 (03:33 +0300)]
plasma: replace use of KLocalizedDate with more direct calls

KLocalizedDate is wrapper around KCalendarSystem and does the same
essentially, also the plasma clock applets do it the way it is done now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: someone's typo
Ivailo Monev [Sat, 22 Jul 2023 23:22:44 +0000 (02:22 +0300)]
plasma: someone's typo

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: adjust to time zone classes changes
Ivailo Monev [Sat, 22 Jul 2023 01:37:43 +0000 (04:37 +0300)]
plasma: adjust to time zone classes changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: simplify group modification date formatting
Ivailo Monev [Fri, 21 Jul 2023 04:48:37 +0000 (07:48 +0300)]
dolphin: simplify group modification date formatting

also more consistent by using the common KGlobal::formatDateTime() way of
formatting such date and time

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KDateTime changes
Ivailo Monev [Fri, 21 Jul 2023 03:19:28 +0000 (06:19 +0300)]
generic: adjust to KDateTime changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodrkonqi: replace KProcess with QProcess
Ivailo Monev [Thu, 20 Jul 2023 23:59:30 +0000 (02:59 +0300)]
drkonqi: replace KProcess with QProcess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokstart: replace KProcess with QProcess
Ivailo Monev [Thu, 20 Jul 2023 23:51:44 +0000 (02:51 +0300)]
kstart: replace KProcess with QProcess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: better hack to show only the relevant media player options
Ivailo Monev [Thu, 20 Jul 2023 23:46:17 +0000 (02:46 +0300)]
kcontrol: better hack to show only the relevant media player options

in the case of kmix - it is not the systemsettings application but has to
show all media players options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove unused KonqOperations slot and non-operational signal
Ivailo Monev [Thu, 20 Jul 2023 20:09:45 +0000 (23:09 +0300)]
libs: remove unused KonqOperations slot and non-operational signal

the signal is never emitted

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: adjust to KFileItem changes
Ivailo Monev [Thu, 20 Jul 2023 18:07:55 +0000 (21:07 +0300)]
plasma: adjust to KFileItem changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KFileMetaInfo changes
Ivailo Monev [Tue, 18 Jul 2023 00:37:45 +0000 (03:37 +0300)]
generic: adjust to KFileMetaInfo changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: remove bzr feature information
Ivailo Monev [Sun, 16 Jul 2023 21:46:03 +0000 (00:46 +0300)]
generic: remove bzr feature information

bzr is no longer supported or required

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokcontrol: prefix QValidator enum references in InputValidator::validate()
Ivailo Monev [Sun, 16 Jul 2023 21:44:56 +0000 (00:44 +0300)]
kcontrol: prefix QValidator enum references in InputValidator::validate()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokcontrol: remove redundant Q_OS_* definition checks
Ivailo Monev [Sun, 16 Jul 2023 21:41:42 +0000 (00:41 +0300)]
kcontrol: remove redundant Q_OS_* definition checks

Q_OS_UNIX is now always defined

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokonsole: do not apply style sheet to the tabs
Ivailo Monev [Sun, 16 Jul 2023 19:26:25 +0000 (22:26 +0300)]
konsole: do not apply style sheet to the tabs

does not change much, was making the tabs look ugly on color scheme change
tho due to palette mismatch

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokwin: update extensions list
Ivailo Monev [Sun, 16 Jul 2023 18:18:55 +0000 (21:18 +0300)]
kwin: update extensions list

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokwin: remove unused and redundant atoms
Ivailo Monev [Sun, 16 Jul 2023 17:47:56 +0000 (20:47 +0300)]
kwin: remove unused and redundant atoms

_KDE_SYSTEM_TRAY_EMBEDDING is unused, _KDE_NET_WM_FRAME_STRUT is same as
_NET_FRAME_EXTENTS

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokeditfiletype: run kbuildsycoca when testing the fake MIME type
Ivailo Monev [Sun, 16 Jul 2023 16:11:28 +0000 (19:11 +0300)]
keditfiletype: run kbuildsycoca when testing the fake MIME type

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokate: remove useless README file
Ivailo Monev [Sun, 16 Jul 2023 06:03:50 +0000 (09:03 +0300)]
kate: remove useless README file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokate: testing build fix
Ivailo Monev [Sun, 16 Jul 2023 06:03:37 +0000 (09:03 +0300)]
kate: testing build fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoplasma: do not attempt actions that require network when the KNetworkManager status...
Ivailo Monev [Sat, 15 Jul 2023 20:26:53 +0000 (23:26 +0300)]
plasma: do not attempt actions that require network when the KNetworkManager status is unknown

the previous network status implementation was lacking backends and
fallback thus the unknown status was used as as if the status is connected

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoplasma: do not reset the source data on source update event for gelocation data engine
Ivailo Monev [Sat, 15 Jul 2023 20:10:54 +0000 (23:10 +0300)]
plasma: do not reset the source data on source update event for gelocation data engine

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoplasma: implement local timezone provider for geolocation data engine
Ivailo Monev [Sat, 15 Jul 2023 07:39:42 +0000 (10:39 +0300)]
plasma: implement local timezone provider for geolocation data engine

wild guess thus the 60000 accuracy, for reference:
https://github.com/fluxer/katana/issues/26

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoplasma: rework geolocation data engine to emit data for all providers
Ivailo Monev [Sat, 15 Jul 2023 06:30:24 +0000 (09:30 +0300)]
plasma: rework geolocation data engine to emit data for all providers

so that the weather location (see kde-extraapps/kdeplasma-addons/libs/plasmaweather/weatherlocation.h)
can check all providers from a single data update and try to match any of
the cities from the providers essentially extending the matching

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoplasma: set the geolocation plugin accuracy to the value of geoplugin_locationAccurac...
Ivailo Monev [Sat, 15 Jul 2023 00:18:35 +0000 (03:18 +0300)]
plasma: set the geolocation plugin accuracy to the value of geoplugin_locationAccuracyRadius

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoplasma: use KIO::StoredTransferJob for the geolocation data engine jobs
Ivailo Monev [Sat, 15 Jul 2023 00:04:05 +0000 (03:04 +0300)]
plasma: use KIO::StoredTransferJob for the geolocation data engine jobs

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agoklipper: remove compat bits
Ivailo Monev [Fri, 14 Jul 2023 22:51:34 +0000 (01:51 +0300)]
klipper: remove compat bits

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agokioslave: drop support for sequenced thumbnails
Ivailo Monev [Fri, 14 Jul 2023 21:27:18 +0000 (00:27 +0300)]
kioslave: drop support for sequenced thumbnails

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: correct warning message
Ivailo Monev [Fri, 14 Jul 2023 17:37:07 +0000 (20:37 +0300)]
dolphin: correct warning message

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: do not wrap changed files and commits text, do not re-set the text if it...
Ivailo Monev [Fri, 14 Jul 2023 08:41:26 +0000 (11:41 +0300)]
dolphin: do not wrap changed files and commits text, do not re-set the text if it is the same either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: implement commits for the git plugin commit dialog
Ivailo Monev [Fri, 14 Jul 2023 08:07:15 +0000 (11:07 +0300)]
dolphin: implement commits for the git plugin commit dialog

because I like to reference past commits and this feature will make that
a breeze

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: remove useless README file
Ivailo Monev [Fri, 14 Jul 2023 06:57:56 +0000 (09:57 +0300)]
dolphin: remove useless README file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: VersionControlObserver::searchPlugin() optimization
Ivailo Monev [Fri, 14 Jul 2023 06:51:02 +0000 (09:51 +0300)]
dolphin: VersionControlObserver::searchPlugin() optimization

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: look for similarities in the diff
Ivailo Monev [Fri, 14 Jul 2023 06:43:43 +0000 (09:43 +0300)]
dolphin: look for similarities in the diff

note: git_diff_find_options flags default to GIT_DIFF_FIND_BY_CONFIG

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: redo add and remove actions conditions
Ivailo Monev [Fri, 14 Jul 2023 06:15:39 +0000 (09:15 +0300)]
dolphin: redo add and remove actions conditions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: prioritize staged over unstaged status in FileViewGitPlugin::itemVersion()
Ivailo Monev [Fri, 14 Jul 2023 06:13:43 +0000 (09:13 +0300)]
dolphin: prioritize staged over unstaged status in FileViewGitPlugin::itemVersion()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agolibs: remove unused and redundant KVersionControlPlugin enums
Ivailo Monev [Fri, 14 Jul 2023 05:47:57 +0000 (08:47 +0300)]
libs: remove unused and redundant KVersionControlPlugin enums

icon-wise it shall be the same because there is no icon for unstaged added
files, changing the tint of modified files just to make it clearly
different from the added files

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: greedy search for the root directory of repositories
Ivailo Monev [Fri, 14 Jul 2023 05:02:40 +0000 (08:02 +0300)]
dolphin: greedy search for the root directory of repositories

I don't like that drawback, can be optimized to stat() via KDE::stat() in
the future

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: effectively revert b08ded0f5234337e2d5ca7cadd07a05b9a7916d9
Ivailo Monev [Fri, 14 Jul 2023 04:48:28 +0000 (07:48 +0300)]
dolphin: effectively revert b08ded0f5234337e2d5ca7cadd07a05b9a7916d9

need a getter for this to destinguish between index and working directory
changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agogeneric: drop floppy support
Ivailo Monev [Fri, 14 Jul 2023 03:26:20 +0000 (06:26 +0300)]
generic: drop floppy support

yep, it's about time

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: do not re-set the diff document text if it is the same
Ivailo Monev [Fri, 14 Jul 2023 02:09:02 +0000 (05:09 +0300)]
dolphin: do not re-set the diff document text if it is the same

so many little details to code..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: log git plugin actions conditions
Ivailo Monev [Fri, 14 Jul 2023 00:38:39 +0000 (03:38 +0300)]
dolphin: log git plugin actions conditions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: conditional add and remove git plugin actions
Ivailo Monev [Fri, 14 Jul 2023 00:34:30 +0000 (03:34 +0300)]
dolphin: conditional add and remove git plugin actions

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: show relative paths in the staged files tab
Ivailo Monev [Thu, 13 Jul 2023 23:50:10 +0000 (02:50 +0300)]
dolphin: show relative paths in the staged files tab

because the diff references such, bonus points for optimizing the status

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: move the cursor to the start of the diff document on setup
Ivailo Monev [Thu, 13 Jul 2023 23:01:27 +0000 (02:01 +0300)]
dolphin: move the cursor to the start of the diff document on setup

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: disable line numbers for the diff document view
Ivailo Monev [Thu, 13 Jul 2023 22:48:07 +0000 (01:48 +0300)]
dolphin: disable line numbers for the diff document view

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
13 months agodolphin: use KTextEditor with fallback to KTextEdit for the diff
Ivailo Monev [Thu, 13 Jul 2023 22:25:21 +0000 (01:25 +0300)]
dolphin: use KTextEditor with fallback to KTextEdit for the diff

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