Zack Mak
10b0e0cfd9
Merge branch okular:master into work/hires_wheel_page_scroll_rework
2024-05-02 16:49:00 +00:00
Zack Mak
fefcd396a7
Group page scroll into a single function
...
Renamed wheelAccumulatedDelta to pageScrollDelta
Use QTimer instead of timestamp for scroll idle timeout
2024-05-03 00:46:21 +08:00
Volker Krause
ef3db458df
Restore the Android APK build
2024-05-02 15:17:39 +00:00
Zack Mak
4a6d28ddb8
Merge branch 'master' of https://invent.kde.org/graphics/okular into work/hires_wheel_page_scroll_rework
2024-05-02 21:39:21 +08:00
l10n daemon script
0265ad4bbf
GIT_SILENT Sync po/docbooks with svn
2024-04-30 01:23:15 +00:00
Volker Krause
2fa738d949
Unify usage of WITH_K7ZIP
...
We should either check its value or its definedness, not mix both.
Standardize on the former.
Fixes the build without LZMA support in KArchive.
2024-04-27 15:19:03 +02:00
Sune Vuorela
803d6e04d5
Xml lint include certain rc files
2024-04-25 09:00:29 +00:00
l10n daemon script
36020898d4
GIT_SILENT Sync po/docbooks with svn
2024-04-25 01:20:28 +00:00
l10n daemon script
6f39a9d455
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-04-25 01:15:35 +00:00
l10n daemon script
a49d4173b8
GIT_SILENT made messages (after extraction)
2024-04-25 00:37:34 +00:00
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