Commit graph

9835 commits

Author SHA1 Message Date
Eduardo Cruz ea04c61faf Add a configuration option to disable drag-scrolling beyond screen edges
The mouse cursor wrap feature while drag-scrolling can be undesirable in some
cases; for example it can be annoying to have the cursor jump accidentally to
the distant edge of a big screen. Now users can disable this feature if they
prefer.

BUG: 421040
FIXED-IN: 22.12
2022-09-28 00:10:56 +00:00
l10n daemon script 804cadfb53 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"
2022-09-18 01:41:53 +00:00
l10n daemon script 5fcb59011b GIT_SILENT made messages (after extraction) 2022-09-18 00:43:16 +00:00
Nicolas Fella 2911f7a885 Very basic implementation for AFPercent_Keystroke
This is used to filter characters that don't make sense in a percent expression

This implementation is very rudimentary
2022-09-14 19:55:18 +00:00
Nicolas Fella 80afe26873 Implement event.change
This represents the newly entered data for each keystroke. This is often a single added character, but for cases like pasting text it can be more complex.

The PDF API reference doesn't specify any algorithm to use.

The algorithm used here works by iterating through both strings from the start until the first different character is encountered. Then the rest of the new text is considered the difference.

This doesn't produce the theoretically optimal/minimal diff, but seems to work well enough for practical application.

When text is removed the diff is empty
2022-09-13 21:51:15 +00:00
Nikola Nikolic 69a2cc144f Fix viewport transition when translating/resizing annotations
Viewport isn't centered on annotations when translating/resizing.
This is best seen if the page is zoomed in and annotation is translated so that
several viewport transitions had happened.
Using undo after translation will expose error.

Function moveViewportIfBoundingRectNotFullyVisible centers viewport based on
translated/resized annotation's bounding rectangle.
For that reason functions translateBoundingRectangle/adjustBoundingRectangle need
to return the same bounding rectangle as annotation's translate/adjust functions.
2022-09-13 16:46:41 +02:00
l10n daemon script 04059bae4b 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"
2022-09-08 01:47:47 +00:00
l10n daemon script 1ffc9514a5 GIT_SILENT made messages (after extraction) 2022-09-08 00:45:24 +00:00
Albert Astals Cid d0359e6342 Merge remote-tracking branch 'origin/release/22.08' 2022-09-04 22:41:24 +02:00
Albert Astals Cid 8e93995e3c Fix saving files on Windows
turn a move into a copy and remove

Seems to work better with windows way of working with open files being
overwritten and stuff

BUGS: 458574
2022-09-04 22:26:23 +02:00
Heiko Becker db9f77543e GIT_SILENT Update Appstream for new release
(cherry picked from commit 8cb15507fd)
2022-09-03 01:08:35 +02:00
Heiko Becker 8cb15507fd GIT_SILENT Update Appstream for new release 2022-09-03 00:08:30 +02:00
Heiko Becker ad936c8095 GIT_SILENT Upgrade release service version to 22.08.1. 2022-09-02 23:47:18 +02:00
Albert Astals Cid b2c56a0a71 Merge remote-tracking branch 'origin/release/22.08' 2022-08-31 22:09:06 +02:00
Albert Astals Cid 3304038d1d ToggleActions: Obey "don't show text" for a particular action toolbar setting
BUGS: 457322
2022-08-31 19:59:22 +00:00
Albert Astals Cid 01871fdfff Even more tweaks to opening "text" files
BUGS: 430538
BUGS: 456434
2022-08-31 16:55:30 +00:00
Nicolas Fella 9dba719f80 Add 22.08.0 Windows binary to appstream data 2022-08-31 17:47:21 +02:00
Albert Astals Cid 656587ca63 epub: Improve TableOfContents for some files
The link can be percent encoded so try it like that if not found in the
normal way, also if the text overflows the page, it's in the next page

BUGS: 458289
2022-08-25 23:38:42 +02:00
Nicolas Fella 986c2e6db5 Don't use KActivities on macOS
Activities are a Plasma concept, they don't make sense on macOS
2022-08-24 16:49:33 +02:00
Albert Astals Cid 5eed8258ed Merge remote-tracking branch 'origin/release/22.08' 2022-08-19 14:04:49 +02:00
Albert Astals Cid 818e1445f7 CI: reenable clazy warning now that it has cmake 3.24.1 2022-08-19 13:53:36 +02:00
Albert Astals Cid 4ad5753c3c GIT_SILENT Update Appstream for new release
(cherry picked from commit a0c6cb572a)
2022-08-10 23:45:16 +02:00
Albert Astals Cid a0c6cb572a GIT_SILENT Update Appstream for new release 2022-08-10 23:44:59 +02:00
Albert Astals Cid 89bcde2e40 GIT_SILENT Upgrade release service version to 22.08.0. 2022-08-10 22:37:58 +02:00
Nikola Nikolic 46f8034335 Prevent annotations from being moved over the page border
BUG: 397222
2022-08-09 22:51:42 +00:00
Albert Astals Cid 0b5623c6a6 Merge remote-tracking branch 'origin/release/22.08' 2022-08-10 00:51:20 +02:00
Albert Astals Cid 4c25d516b4 CI: Disable no-copyable-polymorphic while cmake 3.24.0 generates broken code
https://gitlab.kitware.com/cmake/cmake/-/issues/23823
2022-08-09 23:39:39 +02:00
l10n daemon script 0330558977 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"
2022-08-07 02:53:38 +00:00
l10n daemon script 89194336b7 GIT_SILENT made messages (after extraction) 2022-08-07 02:16:22 +00:00
l10n daemon script f0d3e6f047 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"
2022-08-07 01:45:43 +00:00
l10n daemon script c1d91bbb39 GIT_SILENT made messages (after extraction) 2022-08-07 00:43:52 +00:00
Nicolas Fella 899575ce83 Remove unused include 2022-08-06 19:40:51 +02:00
Nikola Nikolic 55e074c8a1 Prevent popup note from being dragged outside the viewport
BUG: 423363
2022-08-05 23:06:38 +00:00
Albert Astals Cid 915e82305e Merge remote-tracking branch 'origin/release/22.08' 2022-08-06 00:12:59 +02:00
Albert Astals Cid 4ae3762ab8 CI: workaround cmake 3.24.0 issues
https://gitlab.kitware.com/cmake/cmake/-/issues/23823
2022-08-05 21:29:43 +00:00
Volker Krause da6549b1df Port tests away from QQC1
Also, make those tests actually work again.
2022-08-05 16:12:02 +02:00
l10n daemon script 7589278d35 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"
2022-08-05 01:42:21 +00:00
l10n daemon script 66e3401f54 GIT_SILENT made messages (after extraction) 2022-08-05 00:43:17 +00:00
Heiko Becker 7ac7361cec GIT_SILENT Upgrade release service version to 22.07.90. 2022-08-04 00:50:00 +02:00
Albert Astals Cid 63d7839129 Mobile: Ask for password if the document needs one 2022-08-02 21:29:05 +00:00
Albert Astals Cid c9b338de10 Merge remote-tracking branch 'origin/release/22.08' 2022-08-02 23:28:24 +02:00
Albert Astals Cid 0a571b84df clang-tidy-14 2022-08-02 23:09:05 +02:00
Friedrich W. H. Kossebau b96902b40c Port away from deprecated KMessageBox::sorry 2022-07-23 15:01:11 +02:00
Friedrich W. H. Kossebau 37dd665938 Merge branch 'release/22.08' 2022-07-13 13:54:47 +02:00
Friedrich W. H. Kossebau 3efcce3344 Save warning confirm dialogs: avoid Yes/No buttons
Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour
of actions terms.
2022-07-13 11:10:54 +00:00
Friedrich W. H. Kossebau dd44014b7a Too-Small-Digital-Signature dialog buttons: title capitalization, ui marker 2022-07-13 10:36:29 +00:00
Friedrich W. H. Kossebau dd8682ae8e Unsupported archive extension dialog: avoid Yes/No buttons
Yes/No buttons in dialogs are discouraged (not only) by KDE HIG in favour
of actions terms.
2022-07-13 12:07:21 +02:00
Albert Astals Cid 718e9d94e3 GIT_SILENT Upgrade release service version to 22.07.80. 2022-07-13 00:26:31 +02:00
Albert Astals Cid cb3fefb22c GIT_SILENT Upgrade release service version to 22.11.70. 2022-07-12 23:48:30 +02:00
l10n daemon script d2674bd7ad GIT_SILENT made messages (after extraction) 2022-07-12 00:43:49 +00:00