Commit graph

49 commits

Author SHA1 Message Date
Ivailo Monev
3b5777a92a kdeclarative: KIconProvider::requestPixmap() optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-22 22:11:37 +03:00
Ivailo Monev
0834b257bf kdeclarative: fix possible crash
in case the id is not valid

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-22 21:54:22 +03:00
Ivailo Monev
4049764b2f kdeclarative: implement depth() and hasAlphaChannel() getters for QImage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-18 19:47:51 +03:00
Ivailo Monev
e4a7b266fe kdeclarative: minimal QLocale type binding
to be used for KLocale::toLocale() binding and possible more (QLocale
can now be constructed in .qml files and more importantly it will have
getters)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-18 19:31:46 +03:00
Ivailo Monev
ee0d50c901 generic: purge most manual tests
long overdue, have no use for them

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-03 07:03:28 +03:00
Ivailo Monev
fab969cf3e kdecore: remove most of the KUrl compat methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-23 12:26:07 +03:00
Ivailo Monev
581e3037cf kdeclarative: correct QImage binding function names
used for exceptions only

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-19 08:35:13 +03:00
Ivailo Monev
80448cfb9f kdeclarative: implement width() and height() getters for QImage
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-19 01:28:01 +03:00
Ivailo Monev
1c35e2a175 kdeclarative: remove duplicate include directory
KDE4_KIO_INCLUDES includes it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-18 06:29:38 +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
7ddc53d4c1 kdeclarative: rename image binding function
partially fixes build when CMAKE_UNITY_BUILD is set to ON

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-11 18:41:48 +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
f0c713f831 kdeclarative: QImage binding optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-06 15:11:54 +03:00
Ivailo Monev
8a985288c1 kdeclarative: remove stub and unused KDeclarative::runtimePlatform() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-04 06:25:04 +03:00
Ivailo Monev
22fcc8aef5 kdeclarative: correct copyright for QImage binding
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-04 02:40:20 +03:00
Ivailo Monev
30ed152379 kdeclarative: minimal QImage type binding
to be used in fixing notifications applet warning

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-03 16:50:36 +03:00
Ivailo Monev
3586873aa9 kdeclarative: initialization optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-20 08:51:56 +03:00
Ivailo Monev
47a439be90 kdeclarative: remove unused KDeclarativePrivate::initialized member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-20 02:59:57 +03:00
Ivailo Monev
3556eede0f kdeclarative: log script engine exceptions as debug messages
the declarative component logs some as warnings and does not have a
QScriptEngineAgent-like class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-19 06:19:51 +03:00
Ivailo Monev
4454624dac kdeclarative: re-use engine variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-19 03:00:10 +03:00
Ivailo Monev
f5f04c74ac kdeclarative: remove unused macros and wrappers in backportglobal header
note that there are three more copies of that file (some with minor
additions):
kde-workspace/libs/plasmagenericshell/scripting/backportglobal.h
kde-workspace/plasma/kpart/scripting/backportglobal.h
kde-workspace/plasma/scriptengine/simplebindings/backportglobal.h

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-12 13:25:01 +02:00
Ivailo Monev
9901f0685c generic: remove workflow and CI files, new home
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-24 05:41:29 +03:00
Ivailo Monev
ae32b6c66d generic: add HOME_URL to kglobalsettings header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 03:59:30 +03:00
Ivailo Monev
6f4748dc08 generic: replace Q_NULLPTR with nullptr
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-08-06 15:28:49 +03: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
f3459f91c4 generic: test build fixes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-22 02:24:40 +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
63cf8d43d5 generic: fix bootstrap build with testing enabled
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-01 22:53:13 +00:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
71d48301ce kdeclarative: setup the debugger from setupBindings() when build against Katie
while this should be done in setupQmlJsDebugger() I found that most of the
API consumers of KDeclarative just ignore it and never call it thus making
debugging impossible

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-11-10 21:24:38 +00:00
Ivailo Monev
1e26bf4a5d generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-09-03 00:05:54 +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
c899de40be kdeclarative: the test is manual, use the proper macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-08 01:30:19 +00:00
Ivailo Monev
05e9f6eb26 kdeclarative: fix path to test file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-01 01:33:18 +00:00
Ivailo Monev
1159ece183 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-06 15:59:05 +00:00
Ivailo Monev
2d12108e97 Revert "kdeclarative: fix linking against Katie"
the issue was fixed with c8ff87c1d2

This reverts commit d4df41283f.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-21 15:57:56 +02:00
Ivailo Monev
5f7219b491 kdeclarative: simplify debugger enabling
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-01-12 15:45:11 +02:00
Ivailo Monev
d4df41283f kdeclarative: fix linking against Katie
for some (really) strange reason code that worked before does not now,
whatever is causing the blanking of QT_QTSCRIPTTOOLS_LIBRAY variable is a
CMake regression I believe. With this change overlinking will be done when
building against Qt4 but I'd rather bear with that then workaround
regression somewhere.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-25 08:36:11 +02:00
Ivailo Monev
533b860211 kdeclarative: reuse warning message for null engine 2015-11-29 18:32:52 +02:00
Ivailo Monev
fbd0e11b3d generic: implement special qml debugger handling for Katie 2015-11-29 18:30:02 +02:00
Ivailo Monev
06585e4340 kdeclarative: use scriptools instead of qml debugger when build against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-28 04:22:15 +02:00
Ivailo Monev
e178fea6ae kdeclarative: use scriptools instead of qml debugger when build against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-28 04:16:59 +02:00
Ivailo Monev
ac0f452df8 kdeclerative: replace qVaraintFromValue() with QVariant::fromValue()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-16 02:50:13 +02:00
Ivailo Monev
d2a5236cd7 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-31 12:01:45 +02:00
Ivailo Monev
3b7b54ca16 generic: mostly build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 18:04:45 +02:00
Ivailo Monev
b4f374cc9b experimental: declare kdeclarative library as stable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 09:39:35 +02:00