Commit graph

10556 commits

Author SHA1 Message Date
Sune Vuorela c86157a7d3 Adapt colorscheme menu to kf6 2023-12-18 22:56:22 +00:00
Sune Vuorela 48114094a3 Fix KStandardAction::name calls 2023-12-18 22:56:22 +00:00
Sune Vuorela e583ed97b2 Fix signature change of enterEvent 2023-12-18 22:56:22 +00:00
Sune Vuorela d8274fa466 Port activities 2023-12-18 22:56:22 +00:00
Carl Schwan d65c09d0a5 Port away from deprecated extension point from KPart 2023-12-18 22:56:22 +00:00
Carl Schwan 946a8aa386 Port away from QTextStream::setCodec 2023-12-18 22:56:22 +00:00
Carl Schwan a79f3b71c2 Port away to newer KWindowSystem API 2023-12-18 22:56:22 +00:00
Carl Schwan 514640923b Port to newer KBookmark API 2023-12-18 22:56:22 +00:00
Carl Schwan c02926d213 Port away from KRun::isExcecutableFile
This method moved to KIO::OpenUrlJob
2023-12-18 22:56:22 +00:00
Carl Schwan dd09ce7591 Move find ecm to the top
This fixes the build failures on Android
2023-12-18 22:56:22 +00:00
Carl Schwan ce3af32709 Use KBookMarkWidgets and QtGui::Private::QX11Info in Qt6 2023-12-18 22:56:22 +00:00
Carl Schwan 2f05100dc2 Adapt cmake for library name change for kexiv2 and plasma-activities 2023-12-18 22:56:22 +00:00
Nicolas Fella 98f4267248 Use versionless CMake function 2023-12-18 22:56:22 +00:00
Nicolas Fella c29f0fec54 Switch to kf6 2023-12-18 22:56:22 +00:00
Nicolas Fella 5b0ebb0f4c Don't build CHM for Qt6
It depends on KHTML

No need to look for chm until we start porting the chm generator
2023-12-18 22:56:22 +00:00
Nicolas Fella 30eca3dd96 Don't install kservice files for KF6
They are not relevant there
2023-12-18 22:56:22 +00:00
Nicolas Fella 1510d07a9b Port away from deprecated install dir variable 2023-12-18 22:56:22 +00:00
Sune Vuorela 40cbc59bcf Adapt buildsystem to QtX11Extras change for Qt6 2023-12-18 22:56:22 +00:00
Nicolas Fella c3ee60e0a1 Add missing find_package for QtXml 2023-12-18 22:56:22 +00:00
Sune Vuorela f3be4f1cd3 Hardcode Qt6 2023-12-18 22:56:22 +00:00
Nicolas Fella b1c904bda3 Don't hardcode Qt5
Prepares for using Qt6
2023-12-18 22:56:22 +00:00
Nicolas Fella 44ee48f767 Use KF_REQUIRED_VERSION instead of KF5_REQUIRED_VERSION
Make it agnostic to the major version
2023-12-18 22:56:22 +00:00
Albert Astals Cid 900e5a33c5 GIT_SILENT Upgrade release service version to 24.01.85. 2023-12-18 22:56:45 +01:00
Albert Astals Cid 9b8284c54b Fix showing the side panel if not open when showing signatures panel
BUGS: 478542
2023-12-18 19:57:33 +01:00
l10n daemon script b75c6209fd GIT_SILENT Sync po/docbooks with svn 2023-12-18 01:30:31 +00:00
Scott Worley db2246f777 Allow shrinking the main window
The welcome screen's minimum size is quite large.  This change allows
the window to be smaller than the welcome screen when the welcome screen
is not visible.

BUG: 478577

Before and after screenshot:
![Before and after screenshot](/uploads/71f685c89a7324444b89e1abd0592b80/image.png)
2023-12-17 21:39:48 +00:00
Sune Vuorela 1cbb5f0e00 Fix ci. Clang 13 removed from debian testing 2023-12-17 16:57:07 +01:00
l10n daemon script 570c40a145 GIT_SILENT Sync po/docbooks with svn 2023-12-17 01:22:07 +00:00
l10n daemon script 02de6c68a0 GIT_SILENT Sync po/docbooks with svn 2023-12-16 01:23:32 +00:00
Sune Vuorela a9717a8e5f Use CI environment for clang/clazy
In order to be able to also do this with Qt6 we can't currently rely on
'random distro' to be able to give us an environment sufficient for
running clang and clazy, so use the CI system setup instead

A side effect is that we get a newer clazy and clang-tidy and thus is a
few more issues to either ignore or fix.

Also, ask ninja to continue as long as possible rather than stop at
first error to be able to get succes in as few runs as possible
2023-12-15 09:39:03 +00:00
l10n daemon script ba6db9db04 GIT_SILENT Sync po/docbooks with svn 2023-12-15 01:21:42 +00:00
l10n daemon script 0bac0e22ce GIT_SILENT Sync po/docbooks with svn 2023-12-14 01:21:15 +00:00
l10n daemon script 20a5bb2b5c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2023-12-14 01:15:39 +00:00
Sune Vuorela 55e4af09ec Fix QWheelEvent bits in thumbnail list 2023-12-13 10:45:28 +00:00
Sune Vuorela b4a95259e2 Remove some unused parts of FilePrinter 2023-12-13 10:27:13 +00:00
Sune Vuorela 3823115a94 Port messageboxes in pageviewannotator 2023-12-13 10:12:51 +00:00
Carl Schwan c466879717 Port away from YesNo action dialog
Since KF 5.100, the recommanded alternative is using TwoActions dialog
2023-12-13 10:12:51 +00:00
Sune Vuorela ffe522af8c Include QFlags in global.h. It references the macros from there 2023-12-13 10:03:51 +00:00
l10n daemon script ef2002c7a5 GIT_SILENT Sync po/docbooks with svn 2023-12-13 01:21:25 +00:00
Sune Vuorela 5ffa15d021 Port mobipocket code from QRegExp 2023-12-12 20:55:50 +00:00
Sune Vuorela 96c3ce61ef Don't crash in dvi backend
If you have the correct fonts installed, the dvi backend seems to work with and without this patch.

If you don't have the correct fonts installed, the dvi backend crashes without this patch. With this patch, it shows empty documents and a KMessageWidget telling kind of useless messages that might mean "no fonts". But that's a different fix.
2023-12-12 20:44:05 +00:00
Sune Vuorela f2148017b7 Port messageboxes in part 2023-12-12 20:26:22 +00:00
Sune Vuorela acfd1b2bfe Disable ubuntu lts ci.
When going Qt6 soon, this will not work anyways, and it can help
porting today when we can port to newer KDE Frameworks
2023-12-12 10:00:01 +01:00
l10n daemon script efd9143791 GIT_SILENT Sync po/docbooks with svn 2023-12-10 01:29:57 +00:00
l10n daemon script 811acc23a5 GIT_SILENT Sync po/docbooks with svn 2023-12-09 01:22:18 +00:00
Sune Vuorela 40e4c72121 Fix memory handling in xps generator
In case of errors, files and documents could get leaked. Sprinkle
smartpointers over it.
2023-12-08 13:50:34 +01:00
l10n daemon script abd8369007 GIT_SILENT Sync po/docbooks with svn 2023-12-08 01:21:39 +00:00
Sune Vuorela cb935b5724 Port epub from QRegExp to QRegularExpression 2023-12-07 16:43:25 +01:00
Albert Astals Cid d1838d3a97 markdown: Don't try re-converting a document if there's none
BUGS: 478213
2023-12-07 15:28:28 +00:00
Sune Vuorela f4062f5e54 Fix theoretical crash in qunpluck image reader
If a malformed image has no rows or columns, we can end up dereferincing
a nullptr.
Error out early.
2023-12-07 15:16:34 +00:00