Commit graph

73 commits

Author SHA1 Message Date
Ivailo Monev
0ea6963344 kdeplasma-addons: add TryExec entry for konsolesessions runner
that way if konsole is not installed (for whatever the reason) then the
runner will not be loaded even

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-16 03:17:20 +03:00
Ivailo Monev
a91ec41cc6 generic: adjust to KRun changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-12 03:22:20 +03:00
Ivailo Monev
865ddb65a8 generic: adjust to KToolInvocation changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 08:34:25 +03:00
Ivailo Monev
3b3d9cc7d5 kdeplasma-addons: add match for each suggestion from spellchecker runner
that way what is copied is not a list of suggestions but a chosen
suggestion

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-19 20:55:18 +03:00
Ivailo Monev
e04e8962e1 kdeplasma-addons: add break point for konsosessions runner
even tho the iterations should not take much time all runners should be
checking the context before adding matches

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-19 07:14:50 +03:00
Ivailo Monev
15cec03ff6 kdeplasma-addons: remove redundant destructor and method declaration
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-19 01:50:18 +03:00
Ivailo Monev
d493613343 kdeplasma-addons: mark katesessions_runner_compare_sessions() function as static
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-19 01:37:38 +03:00
Ivailo Monev
a25f8ee5ff kdeplasma-addons: use live data about konsole sessions in konsolesessions runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-19 01:36:02 +03:00
Ivailo Monev
1b2019d884 kdeplasma-addons: adjust to runners changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-18 18:19:52 +03:00
Ivailo Monev
e686f4bb8a generic: adjust to runners changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-18 17:13:03 +03:00
Ivailo Monev
9b267f5808 generic: adjust to runners changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-18 05:15:44 +03:00
Ivailo Monev
b98ffc66bc kdeplasma-addons: prepare for Plasma::QueryMatch changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 23:22:25 +03:00
Ivailo Monev
2b254efc08 kdeplasma-addons: adjust to runners changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-16 23:24:57 +03:00
Ivailo Monev
ee7933f02c kdeplasma-addons: adjust runners
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-11 11:05:59 +03:00
Ivailo Monev
760ba3b708 kdeplasma-addons: start with new query match object for each word in spellchecker runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-08 11:03:48 +03:00
Ivailo Monev
eee781dc85 kdeplasma-addons: rework spellchecker runner to not use mutex and multiple KSpeller objects
includes handling of incorrect with no suggestions case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-07 11:05:05 +03:00
Ivailo Monev
48ed9841fe kdeplasma-addons: datetime runner optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-03 13:26:41 +03:00
Ivailo Monev
44a2ab9c9f kdeplasma-addons: drop audioplayercontrol runner and nowplaying applet
if the interfaces are not even introspectable (e.g. chromium) and borked
then the follwing happens - I will simply say no, show them the middle
finger and move on

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-16 11:58:07 +03:00
Ivailo Monev
52cb8a6df0 generic: adjust to KDateTime removal
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-14 23:15:36 +03:00
Ivailo Monev
6ccb85540b kdeplasma-addons: match the untranslated terms as fallback in runners
see the following commit in kde-workspace repo:
9c2fb0b928746ec94fb56022a473de2cf81f9945

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-04 06:20:29 +03:00
Ivailo Monev
81d53fe5a3 kdeplasma-addons: adjust to time zone classes changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-22 04:41:11 +03:00
Ivailo Monev
cb04718ceb generic: adjust to KDateTime changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-21 07:50:30 +03:00
Ivailo Monev
353a6dbf0c kdeplasma-addons: drop broken dictionary runner
and the fix is that easy

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 06:37:14 +03:00
Ivailo Monev
9b90a8609f kdeplasma-addons: rework the dictionary runner
requires the following commit from kde-workspace:
6cfe505af4ede2843d7faa3d302e09cb171d823d

and because the runner is running in its own thread it is still not
thread-safe, that's something to fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 04:51:30 +03:00
Ivailo Monev
93e394f1ca generic: preperations for kdelibs changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:28:51 +03:00
Ivailo Monev
3391e8f1b7 generic: port to the new spelling classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-09 20:31:53 +03:00
Ivailo Monev
8d435fefa0 kdeplasma-addons: include now required QMutex header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-06 09:55:11 +03:00
Ivailo Monev
a174092cbe kdeplasma-addons: adjust to KDirWatch changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-21 00:27:21 +02:00
Ivailo Monev
f0cc5d6925 kdeplasma-addons: do not report error twice from audioplayercontrol runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-15 12:28:33 +02:00
Ivailo Monev
6ccf553d1e generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-14 16:21:09 +03:00
Ivailo Monev
b6ba0b8a5b kdeplasma-addons: proper fix for the inter-depency of kcm_krunner_charrunner and krunner_charrunner targets
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 19:40:58 +03:00
Ivailo Monev
a4043a10b0 kdeplasma-addons: converter runner string correction
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-22 13:39:37 +03:00
Ivailo Monev
df0a8cb438 kdeplasma-addons: replace QReadWriteLock with QMutex and use scoped lockers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-16 12:28:43 +03:00
Ivailo Monev
245a8b299b generic: replace Q_NULLPTR with nullptr
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-06 15:31:19 +03:00
Ivailo Monev
a60449edfa kdeplasma-addons: remove audio player control runner append feature
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-03 00:50:10 +03:00
Ivailo Monev
db4e43ae55 kdeplasma-addons: audio player control runner review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-27 19:47:33 +03:00
Ivailo Monev
5ffc4bff0b kdeplasma-addons: audio player control runner copyright update [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-27 18:03:54 +03:00
Ivailo Monev
2258e72c20 kdeplasma-addons: remove now unused source files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-27 15:25:27 +03:00
Ivailo Monev
ebfdcdee1c kdeplasma-addons: deal with TODOs related to audio player control runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-27 15:20:58 +03:00
Ivailo Monev
f191e9fd68 kdeplasma-addons: rework audioplayercontrol runner for MPRISv2
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-27 03:57:33 +03:00
Ivailo Monev
5767d86aa2 kdeplasma-addons: remove broken translator runner
for reference:
https://github.com/fluxer/katana/issues/24

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-26 16:23:14 +03:00
Ivailo Monev
92ba67cf9a kdeplasma-addons: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-22 19:10:42 +03:00
Ivailo Monev
8d8b0b3c05 kdeplasma-addons: do not show conversion to the unit itself from runner
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-21 01:21:43 +03:00
Ivailo Monev
5317637c7d kdeplasma-addons: add TODO for runners [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-18 18:57:32 +03:00
Ivailo Monev
129d999eb0 kdeplasma-addons: restore converter runner behaviour
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-18 18:38:29 +03:00
Ivailo Monev
c9769f4f48 kdeplasma-addons: port unit converter applet to new conversion classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-18 12:40:02 +03:00
Ivailo Monev
eea1cce387 kdeplasma-addons: port converter runner to new conversion classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-17 23:55:01 +03:00
Ivailo Monev
2d6b744bd4 kdeplasma-addons: remove mediawiki and youtube runners
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-17 17:43:30 +03:00
Ivailo Monev
49ba7dba8f kdeplasma-addons: do not mangle KUnitConversion into anonymous namespace
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-15 23:10:10 +03:00
Ivailo Monev
64d01977a3 kdeplasma-addons: adjust to runner config exporting changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-08 13:33:28 +03:00