Commit graph

10594 commits

Author SHA1 Message Date
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
Sune Vuorela ddbbe12c84 Fix since notation in signatureutils keylocation 2023-12-07 15:01:57 +00:00
Sune Vuorela e705b9fac9 Fix deprecation in tiff generator 2023-12-07 14:52:11 +00:00
Sune Vuorela fbedf4a82a Forward declaring QStringList is annoying on Qt6 porting, and most of them aren't needed so drop it 2023-12-07 14:29:02 +00:00
Sune Vuorela 85bc3d6609 Add CppCheck suppression file
The pattern that the Q_D macros use, cppcheck does not like. So tell it
to ignore it.

Also, cppcheck seems to have a preference for not using for loops if you
can avoid it; we use for loops quite heavily, so also suppress that.
2023-12-07 14:54:30 +01:00
Sune Vuorela dff92b385d open/save to Documents when nothing provided
Fall back to documents location rather than empty string (current
working directory) when loading/saving
2023-12-07 12:15:23 +00:00
Sune Vuorela 3e1842a923 Show an icon depending on the storage location of the signature 2023-12-07 12:15:03 +00:00
Sune Vuorela c94d47b07f Fix a qprinter deprecation warning
Co-Authored-By: Carl Schwan <carl@carlschwan.eu>
2023-12-07 11:46:59 +00:00
l10n daemon script be4cd55031 GIT_SILENT Sync po/docbooks with svn 2023-12-07 01:24:44 +00:00
Sune Vuorela 77ce7a9bf6 Port away from deprecated KIO::stat 2023-12-06 19:45:02 +00:00
Sune Vuorela 0e2716123e port deprecated printdialog options 2023-12-06 19:37:26 +00:00
Sune Vuorela 32c804296a Get rid of QStringRef 2023-12-06 19:12:43 +00:00
Sune Vuorela 69943b5819 Fix deprecated warning QMap::unite
It looks like we mostly come with new values, and if we actually end up
with duplication we want the newest found and not do multi inserts.
2023-12-06 17:28:23 +00:00