Commit graph

10688 commits

Author SHA1 Message Date
l10n daemon script 95a171b556 GIT_SILENT Sync po/docbooks with svn 2024-04-24 01:27:08 +00:00
Sune Vuorela e4166fb773 Test xml lint thingie on CI run 2024-04-23 10:52:28 +00:00
Albert Astals Cid 460a5c112c Fix sidebar status not being respected when opening the first file
BUGS: 484938
2024-04-23 09:11:24 +00:00
Albert Astals Cid 8256832e2d we want to create appx packages for windows 2024-04-23 10:38:28 +02:00
l10n daemon script 9280a26688 GIT_SILENT Sync po/docbooks with svn 2024-04-23 01:26:19 +00:00
bob sayshilol 0bc8c76c3c Fix strikethrough rendering in markdown converter
Previously the `<del>` tag that Discount emits would be removed by Qt
since it's not in the subset of HTML that it understands. It does know
about `<s>` though, so replace `<del>` with `<s>` to render strikethroughs
correctly.

Note that I couldn't get Okular to build locally (PEBCAK issue) so I split out this file to debug it. I've tested against http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip and ff866f73d4/tests/data and the only difference is that trailing whitespace is now trimmed from the end of a line:
```diff
8c8
< <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dashes:</p>
---
> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dashes: </p>
```
A quick search suggests this isn't a problem though https://stackoverflow.com/a/27026403:
> Within block tags (i.e. `<p>`, `<h1>`, `<div>`, ...) spaces as well as line breaks at the beginning or end of the tags should always be ignored (i.e. `<p>test</p>` should look the same as `<p> test </p>`).

I also tried https://doc.qt.io/qt-5/qtextdocument.html#setMarkdown which solves the strikethrough problem, though there are many visible differences with that approach. Most notably, everything is squashed together and code blocks lose their formatting.
2024-04-22 17:00:02 +00:00
l10n daemon script ee947e2783 GIT_SILENT Sync po/docbooks with svn 2024-04-22 01:25:40 +00:00
Max Buchholz b7c5f14021 Complement org.kde.okular.kirigami.appdata.xml
Based on what is already available in the [LinuxPhoneApps listing](https://linuxphoneapps.org/apps/org.kde.okular.kirigami.desktop/) I added some missing metainfo:
- Adds vcs-browser url
- Adds developer information
- Adds categories
2024-04-21 15:17:30 +00:00
Albert Astals Cid 6439552170 GIT_SILENT Upgrade release service version to 24.07.70. 2024-04-21 12:11:44 +02:00
l10n daemon script 193a016b66 GIT_SILENT Sync po/docbooks with svn 2024-04-21 01:21:33 +00:00
Sune Vuorela 460cf6123e Remove CHM generator; disabled for 4 months 2024-04-20 15:58:58 +00:00
Andras Mantia 4435325e5a Load certificates delayed
Showing a dialog from a Paint event handler is something Qt doesn't like.

BUG: 472356
2024-04-20 13:44:54 +00:00
l10n daemon script ac1f1c964d GIT_SILENT Sync po/docbooks with svn 2024-04-20 01:21:33 +00:00
l10n daemon script 5221c3716c GIT_SILENT Sync po/docbooks with svn 2024-04-19 01:23:38 +00:00
Nicolas Fella 3a6988d9ee Add unit test for AFNumber_Format
Based on work from João Netto

Co-authored-by: João Netto <joaonetto901@gmail.com>
2024-04-17 06:54:22 +00:00
l10n daemon script bf39c06a84 GIT_SILENT Sync po/docbooks with svn 2024-04-17 01:23:22 +00:00
Albert Astals Cid b4f449a3a4 djvu: Remove support for old djvu library version
The previous commit broke compilation but our CI passes, which
means we don't support such an old version anymore
2024-04-17 01:42:11 +02:00
Albert Astals Cid 0c121c0ff8 remove extra ; 2024-04-17 01:41:44 +02:00
Sune Vuorela 4509b7bc42 Various minor fixes
Mostly derived from cppcheck runs
2024-04-16 15:44:19 +02:00
l10n daemon script 9f93a01268 GIT_SILENT Sync po/docbooks with svn 2024-04-16 01:25:11 +00:00
l10n daemon script 41b318e073 GIT_SILENT made messages (after extraction) 2024-04-16 00:37:35 +00:00
Sune Vuorela bfc3e46f9c A collection of cppcheck fixes 2024-04-15 19:59:42 +02:00
Nicolas Fella 465b9ff5ce Let poppler pick the font size when signing signature fields
Currently we use the default font sizes for NewSignatureData, which are 10 for fontSize and 20 for leftFontSize

This can be too large for a small signature field, leasing to cut-off text

When passing 0 poppler picks a suitable size depending on the size of the signature field

CCBUG: 443403
2024-04-15 12:24:17 +00:00
l10n daemon script ee58e07e0f GIT_SILENT Sync po/docbooks with svn 2024-04-13 01:23:14 +00:00
l10n daemon script 266d82347f GIT_SILENT Sync po/docbooks with svn 2024-04-12 01:21:04 +00:00
l10n daemon script 27750561e0 GIT_SILENT Sync po/docbooks with svn 2024-04-11 01:21:48 +00:00
l10n daemon script a02eb99b33 GIT_SILENT Sync po/docbooks with svn 2024-04-10 01:22:39 +00:00
l10n daemon script da02e5e76d GIT_SILENT Sync po/docbooks with svn 2024-04-09 01:22:53 +00:00
Heiko Becker 9c2fb5af53 GIT_SILENT Update Appstream for new release
(cherry picked from commit 21c7411e1d)
2024-04-08 18:04:20 +02:00
l10n daemon script 4cf3f0f4a6 GIT_SILENT Sync po/docbooks with svn 2024-04-08 01:21:30 +00:00
Volker Krause 8bc7d0acd6 Port away from Qt5Compat.GraphicalEffects 2024-04-07 21:51:54 +00:00
Nicolas Fella c9b1badea2 Add Windows Craft job 2024-04-07 21:44:39 +00:00
l10n daemon script a5be29d3db GIT_SILENT Sync po/docbooks with svn 2024-04-07 01:22:30 +00:00
l10n daemon script fa3a032981 GIT_SILENT made messages (after extraction) 2024-04-07 00:37:47 +00:00
l10n daemon script 9aea259e56 GIT_SILENT Sync po/docbooks with svn 2024-04-06 01:22:07 +00:00
l10n daemon script 0446fe13fd GIT_SILENT Sync po/docbooks with svn 2024-04-05 01:20:16 +00:00
Robert Riemann 0f6826bb6c refactor documentSignatureMessageWidgetText and getSignatureFormFields
documentSignatureMessageWidgetText and getSignatureFormFields in gui/signatureguiutils.cpp
have similar loops to extract PDF form fields from pages. I made both loops more similar
and added early exit loop conditions to improve performance in documents with many pages.
2024-04-04 11:58:39 +02:00
l10n daemon script f288eb4f3c GIT_SILENT Sync po/docbooks with svn 2024-04-04 01:22:46 +00:00
Friedrich W. H. Kossebau 307a5401dd man page: refer to Qt6 & KF6 version of commandline options 2024-04-04 03:13:41 +02:00
l10n daemon script 69d12b6879 GIT_SILENT made messages (after extraction) 2024-04-04 00:37:53 +00:00
l10n daemon script 995cac267e GIT_SILENT Sync po/docbooks with svn 2024-04-03 01:22:14 +00:00
Albert Astals Cid 7a5d1a23b0 Properly reset documentHasPassword 2024-04-03 01:43:38 +02:00
Nicolas Fella ea243a2a03 Fix DocumentHasPassword check
A document can be encrypted without requiring a password to open/sign it.

Currently we assume we need a password to sign it for such documents, but
that's not correct.

Instead of checking whether the document is encrypted remember whether
we needed a password for opening.

BUG: 474888
2024-04-02 13:04:54 +02:00
l10n daemon script 0c158a3d0d GIT_SILENT Sync po/docbooks with svn 2024-03-31 01:27:19 +00:00
l10n daemon script 41d5ab7c79 GIT_SILENT made messages (after extraction) 2024-03-31 00:37:22 +00:00
Robert Riemann 29e91d62a9 Revert "refactor signatureguiutils.cpp to avoid unnessary page loops"
This reverts commit d2ae4302f9
2024-03-30 13:07:19 +00:00
Robert Riemann d2ae4302f9 refactor signatureguiutils.cpp to avoid unnessary page loops
documentSignatureMessageWidgetText and getSignatureFormFields have similar loops to extract PDF form fields from pages. I made both loops more similar and added early exit loop conditions to improve performance in documents with many pages
2024-03-30 12:44:49 +00:00
l10n daemon script 099ebe1914 GIT_SILENT Sync po/docbooks with svn 2024-03-29 01:27:26 +00:00
l10n daemon script 940a15c2b7 GIT_SILENT Sync po/docbooks with svn 2024-03-28 01:34:49 +00:00
l10n daemon script 2ae6717266 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"
2024-03-28 01:17:06 +00:00