Commit graph

10594 commits

Author SHA1 Message Date
Sune Vuorela 717751a1f1 Fix multiline selection
In qt6, QRect::normalized changed it's meaning and it now has a 'span'
that preserves the old meaning.

Use the old span to get the old version of normalized so we can match on
the corners once again.

see https://codereview.qt-project.org/c/qt/qtbase/+/309932 for details.

BUG: 482249
2024-03-05 21:07:10 +00:00
Carl Schwan 7f639c2826 Fix crash when in embedded dummy mode
This is an issue for Kile as they use Okular in the "dummy mode" which
doesn't include the annotation tool.

BUG: 476207
2024-03-05 15:11:36 +00:00
l10n daemon script 87c35f685b GIT_SILENT made messages (after extraction) 2024-03-05 00:37:08 +00:00
Sune Vuorela 8bcafd80bb Clean up TextSelection and remove unused parts 2024-03-05 00:11:27 +00:00
Carl Schwan 239be78930 Improve appstream summary
Sentence case is preferred and ideally the summary should be phrased in
the imperative with a verb.

See https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/quality-guidelines/#summary
2024-03-05 00:05:21 +00:00
Sune Vuorela 6cc2a08d6b Use std::swap 2024-03-04 23:56:46 +00:00
Sune Vuorela 246f6bee79 Fix PAGEVIEW_DEBUG build 2024-03-04 23:42:48 +00:00
Sam James 27d0a4737f Add missing deps to CMake
* kitemviews was added in 630269a400.
* kcolorscheme was added in 327d547024 at least
  but it goes back a bit further.
* kwidgetsaddons seems to have been used for quite a while too.

Noticed by checking linked libraries.

Signed-off-by: Sam James <sam@gentoo.org>
2024-03-04 23:28:34 +00:00
Sune Vuorela 111e18eba3 Newer clazy: More PMF 2024-03-04 16:55:11 +01:00
Sune Vuorela e7e889604f Newer clazy: More for loops 2024-03-04 16:54:09 +01:00
Sune Vuorela e0fdd8dd14 Newer clazy: Use PMF for actions 2024-03-04 16:50:16 +01:00
Sune Vuorela 97b855c7bb Newer clazy: More QListery 2024-03-04 16:50:11 +01:00
Sune Vuorela 2fcb5f9f9d Newer clazy: Add a few std::as_const 2024-03-04 16:50:06 +01:00
Sune Vuorela 653465f165 Newer clazy: QList changes 2024-03-04 16:49:55 +01:00
Sune Vuorela 1d93a42263 Newer clazy: More potential detaching temporary 2024-03-04 16:49:25 +01:00
l10n daemon script 777a8b4586 GIT_SILENT Sync po/docbooks with svn 2024-03-04 01:17:16 +00:00
l10n daemon script 360dd42c59 GIT_SILENT Sync po/docbooks with svn 2024-03-01 01:28:39 +00:00
l10n daemon script 49ecfd1bda GIT_SILENT Sync po/docbooks with svn 2024-02-25 01:21:58 +00:00
l10n daemon script 228a6511dd GIT_SILENT made messages (after extraction) 2024-02-24 00:36:54 +00:00
Fushan Wen 677a2467ba Use QStringView more to reduce allocations 2024-02-22 23:20:40 +00:00
Sune Vuorela 5ae81f4486 Warn on suspicious realloc
The only place this was was in plucker backend; now removed.
2024-02-22 15:33:21 +00:00
l10n daemon script f3d8cf7df8 GIT_SILENT Sync po/docbooks with svn 2024-02-22 01:19:04 +00:00
Kai Uwe Broulik 450744a37d presentationwidget: Invalidate pixmaps on dpr change
Since the last rendered pixmap is usually reused, its device pixel ratio
can end up different from the `devicePixelRatioF()` of the widget which
is used for most size calculations which leads to an area that might be
unpainted causing visual artifacts.

BUG: 479141
2024-02-21 08:11:07 +00:00
Sune Vuorela 0078851099 CI test runners are slower
So give them a bit more time. Especially freebsd seems to have gotten
quite slower during prime time, and several tests are balancing on the
limit.
2024-02-20 15:34:57 +01:00
l10n daemon script 71f2bb6560 GIT_SILENT Sync po/docbooks with svn 2024-02-20 01:20:13 +00:00
Sune Vuorela 8a6d86ab19 Better user strings for signature settings
CCBUG: 481262
2024-02-19 21:39:02 +00:00
l10n daemon script 122b6fa2a3 GIT_SILENT Sync po/docbooks with svn 2024-02-19 01:20:07 +00:00
l10n daemon script ca4bf966a9 GIT_SILENT Sync po/docbooks with svn 2024-02-18 01:19:37 +00:00
l10n daemon script df3bfa005d 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-02-18 01:13:47 +00:00
l10n daemon script d883cce698 GIT_SILENT made messages (after extraction) 2024-02-18 00:37:24 +00:00
Heiko Becker 3f042a7136 GIT_SILENT Update Appstream for new release
(cherry picked from commit 22481a6a89)
2024-02-16 00:56:02 +01:00
l10n daemon script a2e679eb33 GIT_SILENT Sync po/docbooks with svn 2024-02-14 01:19:33 +00:00
l10n daemon script 9d8e8c90ef 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-02-14 01:13:45 +00:00
l10n daemon script 7e305214f0 GIT_SILENT made messages (after extraction) 2024-02-14 00:37:13 +00:00
l10n daemon script 5987ef8094 GIT_SILENT made messages (after extraction) 2024-02-12 00:37:08 +00:00
l10n daemon script aaabf33338 GIT_SILENT made messages (after extraction) 2024-02-11 00:37:13 +00:00
l10n daemon script 0e235aea30 GIT_SILENT Sync po/docbooks with svn 2024-02-10 01:25:27 +00:00
l10n daemon script e04f961554 GIT_SILENT made messages (after extraction) 2024-02-10 00:37:54 +00:00
Heiko Becker 4f215109fc GIT_SILENT Update Appstream for new release
(cherry picked from commit f98272f40f)
2024-02-10 00:41:17 +01:00
l10n daemon script ab4d065b28 GIT_SILENT Sync po/docbooks with svn 2024-02-09 01:20:58 +00:00
l10n daemon script 4fbd67f929 GIT_SILENT made messages (after extraction) 2024-02-09 00:37:22 +00:00
Sune Vuorela b38040cd74 Stop looking for jpeg 2024-02-08 23:32:11 +00:00
Sune Vuorela 5870b4e3b9 Remove plucker generator
It is undermaintained, it is hard to find documents for it, no tests,
doesn't look like it has seen any fuzzing test and looks like it trusts
the input is good.
2024-02-08 23:32:11 +00:00
l10n daemon script e95bf1ac7e GIT_SILENT Sync po/docbooks with svn 2024-02-08 01:19:30 +00:00
l10n daemon script 2a99b6975d GIT_SILENT made messages (after extraction) 2024-02-08 00:37:31 +00:00
Sune Vuorela 2e008d437c Simplify textentity memory management
After trying to measure the effect of switching TinyTextEntity from a
custom SBO string type to just QString and getting a barely measurable
gain, TinyTextEntity kind of looked like TextEntity, so merge those two.

Also reduce the amount of new/deletes around TextEntities

Implement a string pool for some tiny strings, and various memory optimizations
2024-02-07 14:07:08 +00:00
Timothée Ravier 7c6b5fb2fc org.kde.okular.appdata: Add developer_name
Fixes the following lint errors for Flathub:
```
{
    "errors": [
        "appstream-missing-developer-name"
    ]
}
```

See:
- https://github.com/flathub/org.kde.kdenlive/pull/329
- https://github.com/flathub-infra/flatpak-builder-lint/issues/274
- https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer
- https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-developer_name
- https://mail.kde.org/pipermail/kde-devel/2024-February/002400.html
2024-02-06 14:03:07 +01:00
l10n daemon script 5399a56b51 GIT_SILENT Sync po/docbooks with svn 2024-02-06 01:27:35 +00:00
l10n daemon script dcbd67f4e4 GIT_SILENT Sync po/docbooks with svn 2024-02-05 01:23:35 +00:00
l10n daemon script 60e9cbeffb GIT_SILENT Sync po/docbooks with svn 2024-02-04 01:17:40 +00:00