Commit graph

76 commits

Author SHA1 Message Date
Ivailo Monev
06654c0495 plasma: drop Plasma::ItemBackground class
unused, tho the svg that it paints is used in multiple places as base.
perhaps the class was not flexible enough?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-24 11:34:47 +03:00
Ivailo Monev
ca3e34f47c plasma: new Plasma::ListWidget class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-22 10:38:06 +03:00
Ivailo Monev
6635f1d35d plasma: drop extender support
unused

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-20 09:50:05 +03:00
Ivailo Monev
50a9aa403b plasma: proxy QTreeWidget instead of QTreeView
much more convenient, already testing it via experimental lsof applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-17 05:01:42 +03:00
Ivailo Monev
935b228484 plasma: simplify animations classes
the proxy class Plasma::EasingAnimation is simply redundant, just one
more virtual function call which slows the animations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-17 19:44:26 +03:00
Ivailo Monev
1f11147bd4 plasma: drop redundant Plasma::PluginLoader class
not finished either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-16 22:33:18 +03:00
Ivailo Monev
52a8caa5ee plasma: drop everything related to dataengines
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-08 11:32:12 +03:00
Ivailo Monev
93c35e4c15 generic: remove build-time compat options
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 19:57:19 +03:00
Ivailo Monev
fbfb374b9c generic: drop scripting and tray support
after changes to multiple sub-projects (Katie, kdelibs, kde-workspace
and kde-extraapps) that finally happened, can write lots about it but I
will keep it short - by rewriting parts that were using js/qml (e.g. the
plasma applets) the desktop startup was reduced to half, also the legacy
tray thing shall be no more (anything that needs tray icon shall be a
plasma applet now) thus some applications and features will be dropped
aswell. see all repositories for the changes done

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:06:58 +03:00
Ivailo Monev
961d56277c plasma: paint Plasma::ComboBox, Plasma::LineEdit, Plasma::PushButton, Plasma::Slider and Plasma::SpinBox as native widgets
goal is to paint as little as possible with svg images, the fact that there
are 3 kinds of widgets (native, plasma and qml) makes things look
different and as if made of bits and pieces instead of having a uniform
look. with my reimplementation of several widgets and applets it is less
so tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-20 10:26:36 +03:00
Ivailo Monev
7e78f97d61 plasma: new Plasma::CalendarWidget class
to be used by the clock and calendar applets

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 11:30:15 +03:00
Ivailo Monev
ed79c859b2 generic: merge KDELibs4ToolsTargets and KDELibs4LibraryTargets
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:57:38 +03:00
Ivailo Monev
5613e5483c generic: remove redundant build varibles
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 20:25:52 +03:00
Ivailo Monev
36c910c653 generic: move stuff from KDE4Internal module to KDELibs4Config
large-scale changes to the build system, nothing a user sees tho - it is
all under the hood

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 19:01:40 +03:00
Ivailo Monev
19df721868 generic: ODR fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-11 19:58:06 +03:00
Ivailo Monev
78933232a2 generic: remove build variable used to specify library type
only shared builds are supported now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 23:19:17 +03:00
Ivailo Monev
ac36e123ec generic: remove redundant X11 checks and headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-10 22:04:39 +03:00
Ivailo Monev
67f0a70c9d plasma: remove unused private Plasma::PlasmoidService and Plasma::PlasmoidServiceJob classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-03 00:23:19 +03:00
Ivailo Monev
5289e1e95a plasma: remove unused private Plasma::DataEngineService and Plasma::GetSource classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 23:39:43 +03:00
Ivailo Monev
4ae4a6f174 plasma: drop support for package structure plugins
the option to craft package structures for applets is there and some
applets already do that

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 14:09:23 +03:00
Ivailo Monev
fc2a026d2e plasma: use KSharedConfig instead of compiling config class and update cache settings on config change
also initializing Plasma::ThemePrivate::toolTipDelay member just in case

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 13:51:31 +03:00
Ivailo Monev
b41f9cce51 plasma: call constructors for types created on the heap
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 11:33:01 +03:00
Ivailo Monev
04cbca81e2 plasma: remove unused Plasma/Animator service type
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 10:41:25 +03:00
Ivailo Monev
a5e996209f plasma: rework services to not use files describing operations
the benfit of this is that a lot of disk I/O and parsing will be avoided
leading to faster plasma-desktop startup for example, also service
plugins are not a thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 06:54:16 +03:00
Ivailo Monev
6e8feccb93 plasma: remove unused source and header files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 22:38:30 +03:00
Ivailo Monev
0fcbeab9fb plasma: drop JS animations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 21:44:37 +03:00
Ivailo Monev
0dd99c3650 plasma: remove unused animations
besides being unused grow does the same as zoom/geometry animation,
the declarative component also provides rotation animation

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-21 20:40:31 +03:00
Ivailo Monev
5933638f18 plasma: remove unused Plasma::AnimatorPrivate member and methods, also the custom easing type
the animations use either QEasingCurve or JS code (which will eventually
be converted to sub-class of QEasingCurve for performance reasons)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 10:00:51 +02:00
Ivailo Monev
97372a82ef plasma: remove unused AbstractDialogManager class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-09 00:06:27 +02:00
Ivailo Monev
38cc86db41 plasma: export DialogShadows class
there are 3 copies of the sources for that class because it is not
exported (one here, one in kde-workspace and one in kde-extraapps) with
one class that is very similar to it - PanelShadows (in kde-workspace
repo, part of plasmagenericshell library)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-07 18:05:11 +02:00
Ivailo Monev
e0edbc97c4 plasma: do not link to dl library
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-08 01:49:02 +03:00
Ivailo Monev
581afd3caa generic: drop KIO HTTP(S) support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-16 09:12:20 +02:00
Ivailo Monev
955b539843 plasma: drop storage support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-10-02 05:09:03 +03:00
Ivailo Monev
ea8fad680c generic: load SVG images as any other format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-15 00:20:09 +03:00
Ivailo Monev
9d785124c6 plasma: remove unused runner, dataengine and wallpaper scripting support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-08 15:41:29 +03:00
Ivailo Monev
e0cbdd94f3 plasma: remove unused and bogus water animation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-14 12:11:03 +03:00
Ivailo Monev
cdebea1cc0 plasma: remove unused member and class
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-17 12:51:59 +02:00
Ivailo Monev
31ee051ff4 generic: remove some compatibility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-27 08:58:02 +02:00
Ivailo Monev
4d6fb007e7 generic: fix most of the overlinking issues
TODO from https://github.com/fluxer/katana/issues/7. I've decided to
keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE
for that and not use INTERFACE at all since that will not require a lot
of changes to all other sub-projects (kde-baseapps, kde-workspace and
kde-extraapps) build systems.

MusicBrainz5 CMake module was also rewritten as the actual library that
should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C
version of it.

common checks for X11 extensions where move to main config header,
eventually to be moved to separate config-x11 header.

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-09 21:58:11 +00:00
Ivailo Monev
8d3ea2c1bc generic: purge Qt support with fire
this includes QtWebKit support removal since it is not going to be
maintained, fancy headers removal, CMake modules rewrite/removal
and removing conditionals from the build system. Pre-processor
definitions checks are still in place on purpose

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-07 13:00:55 +00:00
Ivailo Monev
718725941c generic: get rid of the effects watcher specific to Plasma
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-08-29 19:39:11 +00:00
Ivailo Monev
3f85253c09 plasma: make use of KDE version
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-29 16:01:50 +00:00
Ivailo Monev
0f3290da9a generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 23:02:44 +00:00
Ivailo Monev
1f34f5ad73 generic: use CMake export header generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-27 20:13:02 +00:00
Ivailo Monev
c9fb1c8f6b generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-08 01:17:17 +00:00
Ivailo Monev
8993202acd plasma: make runners use QThread instead of ThreadWeaver
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-07 10:55:05 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +00:00
Ivailo Monev
75af9fbb87 plasma: move wallpaper rendering to main thread
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-09 15:32:10 +00:00
Ivailo Monev
d12678dde0 plasma: remove remote widgets leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-28 13:45:25 +02:00
Ivailo Monev
1daae79708 generic: make webkit optional
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 20:51:23 +02:00