Commit graph

2573 commits

Author SHA1 Message Date
Ivailo Monev
c6e66748aa dolphin: link the git plugin to kio library
for the KDirNotify reference

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 21:04:38 +03:00
Ivailo Monev
75a6f61cf6 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>
2023-07-11 20:54:05 +03:00
Ivailo Monev
dee2ff1503 dolphin: prettify the git plugin commit message
to match what `git commit` does

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 17:12:38 +03:00
Ivailo Monev
8f23410bfd 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>
2023-07-11 16:29:36 +03:00
Ivailo Monev
b5c52b451f kdirshare: rename internal icons path
for consistency

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 06:51:12 +03:00
Ivailo Monev
ad707fe53c 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>
2023-07-11 06:03:54 +03:00
Ivailo Monev
8de9bcefd9 plasma: remove redundant dit data engine destructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 06:00:43 +03:00
Ivailo Monev
d6e19c715e 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>
2023-07-11 05:58:55 +03:00
Ivailo Monev
e1db4a1c72 kdirshare: fix ".." regression
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 05:29:53 +03:00
Ivailo Monev
6cfe505af4 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>
2023-07-11 04:50:40 +03:00
Ivailo Monev
9304320d34 dolphin: update Messages.sh script for git plugin
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 04:00:33 +03:00
Ivailo Monev
c68f32e086 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>
2023-07-11 03:54:05 +03:00
Ivailo Monev
aa44e3eef0 generic: adjust to kde4_install_auth_helper_files() macro changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-10 02:56:17 +03:00
Ivailo Monev
d64cfc2804 kdirshare: correct content indentation
purely cosmetic (e.g. for when viewing the page source)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 23:55:07 +03:00
Ivailo Monev
94cd784bf8 kdirshare: implement global search
note: the search string is matched as wildcard regular exression

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 23:27:23 +03:00
Ivailo Monev
036d4e1fc4 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>
2023-07-09 21:55:12 +03:00
Ivailo Monev
ec3dc590a0 kioslave: clear the KIO::UDSEntry object before emitting the last network:/ entry
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 20:57:41 +03:00
Ivailo Monev
1ef80f8af0 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>
2023-07-09 19:06:58 +03:00
Ivailo Monev
7904557696 plasma: use the new Solid::PowerManagement::supportedSleepStatesChanged() signal
requires the following commit from kdelibs:
4900d6089280e0ff56876b85141dd51632e2209d

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 18:34:43 +03:00
Ivailo Monev
cb37a5683f generic: adjust to Solid::PowerManagement changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 18:11:38 +03:00
Ivailo Monev
52ff8f2eec plasma: remove unused variable in PowerDevilRunner::run()
the Solid::PowerManagement methods will activate the service

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 17:55:49 +03:00
Ivailo Monev
d8275d74e0 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>
2023-07-09 06:23:41 +03:00
Ivailo Monev
c6114b45d9 generic: do not install kcfg files
see the following commit in kdelibs repo:
ee1aa40904077b7cae3c3575ffeaab176e42a85b

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 05:50:15 +03:00
Ivailo Monev
bd93f90b5d 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>
2023-07-08 21:32:13 +03:00
Ivailo Monev
1ffb4b1eb0 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>
2023-07-08 08:42:27 +03:00
Ivailo Monev
38d01643b7 kinfocenter: remove unused bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 07:04:30 +03:00
Ivailo Monev
85bc20d347 plasma: use KIO::StoredTransferJob in the dict data engine
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-08 02:16:18 +03:00
Ivailo Monev
f7a8f15747 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>
2023-07-07 20:25:40 +03:00
Ivailo Monev
e67cd1a5b3 libs: remove manual plasmagenericshell test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-07 19:09:08 +03:00
Ivailo Monev
9ffdac5b9a dolphin: adjust to KDirNotify changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-06 18:31:03 +03:00
Ivailo Monev
7c6dbdd31f kate: add QModelIndexList to cpp syntax data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-05 19:50:02 +03:00
Ivailo Monev
bb2652ab2a libs: iterate over a copy of children in Processes::deleteProcess()
fixes possible crash

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-05 07:50:06 +03:00
Ivailo Monev
268376e08b generic: adjust to solid changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-05 07:15:01 +03:00
Ivailo Monev
f9259663dd dolphin: remove expansion leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-05 00:21:45 +03:00
Ivailo Monev
4a732fb667 plasma: remove redundant PlasmaApp::hasComposite() methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-04 17:57:23 +03:00
Ivailo Monev
2f5c1e72ef plasma: do not enlarge the pixmap cache size
this needs a config knob like the theme cache size

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-04 17:56:49 +03:00
Ivailo Monev
547ccac0f8 plasma: remove unused header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-04 17:48:28 +03:00
Ivailo Monev
a48ec8ca13 kate: drop hellowword, openheader and tabbarextension plugins
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 21:00:28 +03:00
Ivailo Monev
f9dd7a42e8 kate: const-ify the argument of KateFileBrowser::setDir()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 18:48:14 +03:00
Ivailo Monev
0ccc580f03 dolphin: adjust to KDirLister changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 13:38:25 +03:00
Ivailo Monev
8040340e8b dolphin: remove now unused KItemListController setters and getters
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 12:35:48 +03:00
Ivailo Monev
9f05987cc0 dolphin: drop support for expansion (tree view)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 09:42:38 +03:00
Ivailo Monev
10fd4a8575 dolphin: drop folders panel
where would I shove it:
https://ibb.co/P1MpQG3

I do not like it, nor do I use it - begone. oh, here is a hint - the
location bar can act as a tree, try clicking on the arrows

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 08:20:07 +03:00
Ivailo Monev
004cd8b0ab dolphin: fix possible tests crashes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 08:03:42 +03:00
Ivailo Monev
631226e93a dolphin: testing build fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 07:47:04 +03:00
Ivailo Monev
0ba740c6c5 generic: purge most manual tests
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 07:41:07 +03:00
Ivailo Monev
a4986e43b8 libs: remove reference to the system KIO slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 05:45:36 +03:00
Ivailo Monev
4cda68c47f kate: sync filebrowser actions with KDirOperator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 03:33:02 +03:00
Ivailo Monev
81f53f5427 generic: adjust to kfile changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 02:20:20 +03:00
Ivailo Monev
3d21491cf0 plasma: cleanup from PlasmaApp destructor, deref unconditionally
the global reference is increased unconditionally in the constructor, also
the quit() slot shadows KApplication::quit() slot

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-01 10:27:50 +03:00