Commit graph

10375 commits

Author SHA1 Message Date
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
Nicolas Fella 1b479dfb7b Port away from deprecated KRun 2023-12-06 09:22:16 +00:00
l10n daemon script 0c2fb8a095 GIT_SILENT Sync po/docbooks with svn 2023-12-05 01:20:54 +00:00
l10n daemon script 5251257516 GIT_SILENT Sync po/docbooks with svn 2023-12-03 01:22:04 +00:00
l10n daemon script 9f8b6b2aa5 GIT_SILENT Sync po/docbooks with svn 2023-12-02 01:22:10 +00:00
Sune Vuorela ab46c3fb4f Remember signature dialog values
Some users want the values remembered because else they enter the same
each time.

Let's try that then.
2023-12-01 09:50:51 +00:00
l10n daemon script cb281e8dc5 GIT_SILENT Sync po/docbooks with svn 2023-12-01 01:22:20 +00:00
Heiko Becker 4696cb4a91 GIT_SILENT Update Appstream for new release
(cherry picked from commit 06578a35b7)
2023-11-30 18:02:31 +01:00
l10n daemon script dc1f40b45e GIT_SILENT Sync po/docbooks with svn 2023-11-27 01:23:12 +00:00
l10n daemon script 8182684c14 GIT_SILENT Sync po/docbooks with svn 2023-11-26 01:30:50 +00:00
l10n daemon script a9a77cd214 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-11-26 01:16:10 +00:00
Nicolas Fella 41e0a669ee Adapt to renamed activities library repo 2023-11-25 14:08:58 +01:00
Albert Astals Cid f16064c733 GIT_SILENT Upgrade release service version to 24.01.80. 2023-11-25 00:31:47 +01:00
l10n daemon script 9de568e5bc GIT_SILENT Sync po/docbooks with svn 2023-11-23 01:23:23 +00:00
Sune Vuorela 233d387ab7 Fix keydelegate paint to work with debug Qt
Calling QStyleItemDelegate with an invalid index is invalid, so avoid
it.

This gives the same behavior but less hacky regarding internals.
2023-11-22 18:51:45 +00:00
Sune Vuorela fd1684a2ce Remove redundant check
In around 2/3rd of the cases, we don't check that currentIndex of tabs
is less than the number of tabs, because it is not needed.
It is also not needed in the other cases, so remove that.
2023-11-22 16:05:42 +00:00
l10n daemon script 83abebb399 GIT_SILENT Sync po/docbooks with svn 2023-11-20 01:30:13 +00:00
l10n daemon script 31878166c1 GIT_SILENT Sync po/docbooks with svn 2023-11-19 01:28:20 +00:00
l10n daemon script fa752beee0 GIT_SILENT Sync po/docbooks with svn 2023-11-16 01:27:07 +00:00
l10n daemon script 047400294d GIT_SILENT Sync po/docbooks with svn 2023-11-14 01:24:36 +00:00