OSDN Git Service

kde/kde-workspace.git
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 months agoplasma: update TODO
Ivailo Monev [Thu, 13 Jul 2023 21:58:28 +0000 (00:58 +0300)]
plasma: update TODO

it already uses KTextEditor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: activate the commit dialog of git plugin
Ivailo Monev [Thu, 13 Jul 2023 21:41:31 +0000 (00:41 +0300)]
dolphin: activate the commit dialog of git plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: implement syntax highlighter for the git plugin diff
Ivailo Monev [Thu, 13 Jul 2023 20:58:57 +0000 (23:58 +0300)]
dolphin: implement syntax highlighter for the git plugin diff

I am thinking there should be a KSyntaxCollection class or something

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: do not append hunk and binary line origin character to the result from FileV...
Ivailo Monev [Thu, 13 Jul 2023 20:58:01 +0000 (23:58 +0300)]
dolphin: do not append hunk and binary line origin character to the result from FileViewGitPlugin::gitDiffCallback()

headers, not indicators

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: show the git plugin commit dialog instead of exec()-ing it
Ivailo Monev [Thu, 13 Jul 2023 18:50:05 +0000 (21:50 +0300)]
dolphin: show the git plugin commit dialog instead of exec()-ing it

theoretically what the dialog shows can go out of sync with this change
but the changes committed will be up-to-date due to the
`git_index_update_all` call once the dialog is finished

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: notify about the changes by emitting itemVersionsChanged() from git plugin
Ivailo Monev [Thu, 13 Jul 2023 18:15:41 +0000 (21:15 +0300)]
dolphin: notify about the changes by emitting itemVersionsChanged() from git plugin

same effect except only dolphin gets to update (no other application uses
the version plugins even tho the class is in the konq library)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: show the difference in commit dialog from git plugin
Ivailo Monev [Thu, 13 Jul 2023 17:33:32 +0000 (20:33 +0300)]
dolphin: show the difference in commit dialog from git plugin

I guess I can show both (see ec94a7cf06730f7fbf7d6b58d6c817168471a16d):
https://ibb.co/RzYGHk4

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to KUniqueApplication changes
Ivailo Monev [Thu, 13 Jul 2023 14:42:13 +0000 (17:42 +0300)]
generic: adjust to KUniqueApplication changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdirshare: fix regression since b5c52b451f4f2729a6787290c0070c32e4dc4f98
Ivailo Monev [Wed, 12 Jul 2023 18:31:03 +0000 (21:31 +0300)]
kdirshare: fix regression since b5c52b451f4f2729a6787290c0070c32e4dc4f98

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: sync the global config from GitCommitDialog
Ivailo Monev [Wed, 12 Jul 2023 17:22:08 +0000 (20:22 +0300)]
dolphin: sync the global config from GitCommitDialog

yep, syncing KConfig is mandatory because it was written to be complex and
fail at simple things like this

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokmail: save and restore dialog size
Ivailo Monev [Wed, 12 Jul 2023 17:12:44 +0000 (20:12 +0300)]
kmail: save and restore dialog size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: save and restore the git plugin commit dialog size
Ivailo Monev [Wed, 12 Jul 2023 16:54:23 +0000 (19:54 +0300)]
dolphin: save and restore the git plugin commit dialog size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: show the file(s) staged for commit in git plugin commit dialog
Ivailo Monev [Wed, 12 Jul 2023 16:47:13 +0000 (19:47 +0300)]
dolphin: show the file(s) staged for commit in git plugin commit dialog

or should it show diff rather?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove unused headers inclusions in qalculate_engine source file
Ivailo Monev [Wed, 12 Jul 2023 09:49:46 +0000 (12:49 +0300)]
plasma: remove unused headers inclusions in qalculate_engine source file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: remove now redundant check in FileViewGitPlugin::getGitError()
Ivailo Monev [Wed, 12 Jul 2023 03:19:14 +0000 (06:19 +0300)]
dolphin: remove now redundant check in FileViewGitPlugin::getGitError()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: drop push and pull actions
Ivailo Monev [Wed, 12 Jul 2023 03:12:54 +0000 (06:12 +0300)]
dolphin: drop push and pull actions

libgit2 cannot even fetch from shallow copies.. well, the file status is
more than enough for dolphin - anything else belongs to a dedicated git
repository management tool anyway

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: experimental merge for git plugin
Ivailo Monev [Wed, 12 Jul 2023 00:17:23 +0000 (03:17 +0300)]
dolphin: experimental merge for git plugin

comes with the usual "WITHOUT ANY WARRANTY" (see the copyright)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: use git_repository_head() to get the repository head
Ivailo Monev [Tue, 11 Jul 2023 21:26:33 +0000 (00:26 +0300)]
dolphin: use git_repository_head() to get the repository head

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: return GIT_EUSER when dialog was not accepted
Ivailo Monev [Tue, 11 Jul 2023 21:04:19 +0000 (00:04 +0300)]
dolphin: return GIT_EUSER when dialog was not accepted

otherwise the error claims no callback was set

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: partially implement pull action for git plugin
Ivailo Monev [Tue, 11 Jul 2023 20:23:23 +0000 (23:23 +0300)]
dolphin: partially implement pull action for git plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: do not include ignored and untracked files in the status
Ivailo Monev [Tue, 11 Jul 2023 20:22:58 +0000 (23:22 +0300)]
dolphin: do not include ignored and untracked files in the status

if not added, changed or removed files are not to be committed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: link the git plugin to kio library
Ivailo Monev [Tue, 11 Jul 2023 18:04:38 +0000 (21:04 +0300)]
dolphin: link the git plugin to kio library

for the KDirNotify reference

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: notify about the changes after add, remove or commit from the git plugin
Ivailo Monev [Tue, 11 Jul 2023 15:04:46 +0000 (18:04 +0300)]
dolphin: notify about the changes after add, remove or commit from the git plugin

and because showing the commit action makes no sense when no changes
(add, remove, modify) are done to the repo every time the actions are
requested a check will be done, note that the check may be quite
expensive for large repositories and delay the context menu

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: prettify the git plugin commit message
Ivailo Monev [Tue, 11 Jul 2023 14:12:38 +0000 (17:12 +0300)]
dolphin: prettify the git plugin commit message

to match what `git commit` does

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokscreensaver: use /org/freedesktop/login1/seat/auto as session path
Ivailo Monev [Tue, 11 Jul 2023 04:06:54 +0000 (07:06 +0300)]
kscreensaver: use /org/freedesktop/login1/seat/auto as session path

because someone borked org.freedesktop.login1.GetSessionByPID() and it
no longer returns valid values, good thing I put that warning there to
spot such changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdirshare: rename internal icons path
Ivailo Monev [Tue, 11 Jul 2023 03:51:12 +0000 (06:51 +0300)]
kdirshare: rename internal icons path

for consistency

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: temporary disable the git plugin pull action
Ivailo Monev [Tue, 11 Jul 2023 03:03:54 +0000 (06:03 +0300)]
dolphin: temporary disable the git plugin pull action

the code for the implementation is actually the same as in
FileViewGitPlugin::slotPush() except the git_remote_push() call (and
obviously the information messages stating that pull is being done)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove redundant dit data engine destructor
Ivailo Monev [Tue, 11 Jul 2023 03:00:43 +0000 (06:00 +0300)]
plasma: remove redundant dit data engine destructor

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: run the get() job of dict data engine asynchronously
Ivailo Monev [Tue, 11 Jul 2023 02:58:55 +0000 (05:58 +0300)]
plasma: run the get() job of dict data engine asynchronously

same result however no extra QEventLoop, the only overhead is from the
property that has to be set for each source (converting QString to QVariant
and then back to QString)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdirshare: fix ".." regression
Ivailo Monev [Tue, 11 Jul 2023 02:29:53 +0000 (05:29 +0300)]
kdirshare: fix ".." regression

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: set definition and example data from the dict data engine
Ivailo Monev [Tue, 11 Jul 2023 01:50:40 +0000 (04:50 +0300)]
plasma: set definition and example data from the dict data engine

to avoid stripping the HTML out of the text in the dictionary runner for
example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: update Messages.sh script for git plugin
Ivailo Monev [Tue, 11 Jul 2023 01:00:33 +0000 (04:00 +0300)]
dolphin: update Messages.sh script for git plugin

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: drop all plugins except git and rewrite it
Ivailo Monev [Mon, 10 Jul 2023 03:14:12 +0000 (06:14 +0300)]
dolphin: drop all plugins except git and rewrite it

one of the things that the previous implementation was lacking is the
credentials handling, also it was was very slow because it had to spawn
a process

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to kde4_install_auth_helper_files() macro changes
Ivailo Monev [Sun, 9 Jul 2023 23:56:17 +0000 (02:56 +0300)]
generic: adjust to kde4_install_auth_helper_files() macro changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdirshare: correct content indentation
Ivailo Monev [Sun, 9 Jul 2023 20:55:07 +0000 (23:55 +0300)]
kdirshare: correct content indentation

purely cosmetic (e.g. for when viewing the page source)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdirshare: implement global search
Ivailo Monev [Sun, 9 Jul 2023 20:27:23 +0000 (23:27 +0300)]
kdirshare: implement global search

note: the search string is matched as wildcard regular exression

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokdirshare: use custom stylesheet matching the host palette
Ivailo Monev [Sun, 9 Jul 2023 18:55:12 +0000 (21:55 +0300)]
kdirshare: use custom stylesheet matching the host palette

matching the icon and desktop theme (if setup correctly):
https://ibb.co/d789K1F

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokioslave: clear the KIO::UDSEntry object before emitting the last network:/ entry
Ivailo Monev [Sun, 9 Jul 2023 17:57:41 +0000 (20:57 +0300)]
kioslave: clear the KIO::UDSEntry object before emitting the last network:/ entry

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokioslave: directory thumbnailer optimization
Ivailo Monev [Sun, 9 Jul 2023 16:06:58 +0000 (19:06 +0300)]
kioslave: directory thumbnailer optimization

by collecting sub-directories to possibly propagate later listing of the
directory has to be done only once reducing the overall I/O required for
generating directory thumbnails in case no thumbnail can be created from
the files in the directory

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: use the new Solid::PowerManagement::supportedSleepStatesChanged() signal
Ivailo Monev [Sun, 9 Jul 2023 15:34:43 +0000 (18:34 +0300)]
plasma: use the new Solid::PowerManagement::supportedSleepStatesChanged() signal

requires the following commit from kdelibs:
4900d6089280e0ff56876b85141dd51632e2209d

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to Solid::PowerManagement changes
Ivailo Monev [Sun, 9 Jul 2023 15:11:38 +0000 (18:11 +0300)]
generic: adjust to Solid::PowerManagement changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove unused variable in PowerDevilRunner::run()
Ivailo Monev [Sun, 9 Jul 2023 14:55:49 +0000 (17:55 +0300)]
plasma: remove unused variable in PowerDevilRunner::run()

the Solid::PowerManagement methods will activate the service

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokcontrol: remove redundant check for org.freedesktop.PowerManagement in randr module
Ivailo Monev [Sun, 9 Jul 2023 03:23:41 +0000 (06:23 +0300)]
kcontrol: remove redundant check for org.freedesktop.PowerManagement in randr module

Solid::PowerManagement watches for the registration of the service
internally, note that it was checked if the service is registered on the
system bus but watched for registration on the session bus

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: do not install kcfg files
Ivailo Monev [Sun, 9 Jul 2023 02:50:12 +0000 (05:50 +0300)]
generic: do not install kcfg files

see the following commit in kdelibs repo:
ee1aa40904077b7cae3c3575ffeaab176e42a85b

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: show network unreachable message from the folderview applet when it becomes...
Ivailo Monev [Sat, 8 Jul 2023 18:31:26 +0000 (21:31 +0300)]
plasma: show network unreachable message from the folderview applet when it becomes such

not just when new URL is set via FolderView::setUrl() but dynamically

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: port to the new knetworkmanager library and remove slid-networkstatus
Ivailo Monev [Sat, 8 Jul 2023 05:42:24 +0000 (08:42 +0300)]
generic: port to the new knetworkmanager library and remove slid-networkstatus

also corrected folderview applet condition in olderView::setUrl()
(incorrect since before the fork, was displaying message that the
network is not reachable when the status is connected)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokinfocenter: remove unused bits
Ivailo Monev [Sat, 8 Jul 2023 04:04:30 +0000 (07:04 +0300)]
kinfocenter: remove unused bits

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: use KIO::StoredTransferJob in the dict data engine
Ivailo Monev [Fri, 7 Jul 2023 23:16:13 +0000 (02:16 +0300)]
plasma: use KIO::StoredTransferJob in the dict data engine

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agoplasma: remove redundant styleSheet properties in UI files
Ivailo Monev [Fri, 7 Jul 2023 17:25:40 +0000 (20:25 +0300)]
plasma: remove redundant styleSheet properties in UI files

empty means no stylesheet and apply application or widget style

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: remove manual plasmagenericshell test
Ivailo Monev [Fri, 7 Jul 2023 16:09:08 +0000 (19:09 +0300)]
libs: remove manual plasmagenericshell test

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agodolphin: adjust to KDirNotify changes
Ivailo Monev [Thu, 6 Jul 2023 15:31:03 +0000 (18:31 +0300)]
dolphin: adjust to KDirNotify changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agokate: add QModelIndexList to cpp syntax data
Ivailo Monev [Wed, 5 Jul 2023 16:50:02 +0000 (19:50 +0300)]
kate: add QModelIndexList to cpp syntax data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agolibs: iterate over a copy of children in Processes::deleteProcess()
Ivailo Monev [Wed, 5 Jul 2023 04:50:06 +0000 (07:50 +0300)]
libs: iterate over a copy of children in Processes::deleteProcess()

fixes possible crash

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
12 months agogeneric: adjust to solid changes
Ivailo Monev [Wed, 5 Jul 2023 04:15:01 +0000 (07:15 +0300)]
generic: adjust to solid changes

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