Commit graph

9835 commits

Author SHA1 Message Date
Kai Uwe Broulik
8eca2bfa9d [PageViewMessage] Resolve icon on the fly
Use `PM_SmallIconSize` for size calculation exclusively and
then have `QPainter` resolve it to the correct device pixel
ratio during paint.
2021-11-23 21:55:01 +01:00
Albert Astals Cid
975bf990ed Fix zoom actions not being updated correctly
BUGS: 440173
2021-11-23 19:46:08 +00:00
Heiko Becker
96132e83f2 GIT_SILENT Upgrade release service version to 21.11.90. 2021-11-22 23:38:39 +01:00
Albert Astals Cid
29911062e3 Merge remote-tracking branch 'origin/release/21.12' 2021-11-21 23:12:31 +01:00
Albert Astals Cid
2de5c96e52 okularcore doesn't need dbus 2021-11-21 17:50:40 +00:00
Ben Cooksley
8da8e767e8 Add another Framework required by Okular 2021-11-21 21:59:28 +13:00
Ben Cooksley
685680c2de Okular requires KActivities it would seem 2021-11-21 18:14:24 +13:00
Ben Cooksley
9bd6fee112 These two should be sourced from the same version as they released together 2021-11-21 14:29:34 +13:00
Ben Cooksley
a0fac70586 Setup .kde-ci.yml for Okular, as we need to know what it needs to build for the seed jobs 2021-11-21 14:24:23 +13:00
l10n daemon script
c701758f71 GIT_SILENT made messages (after extraction) 2021-11-17 00:25:46 +00:00
l10n daemon script
a520e4378b 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"
2021-11-14 01:27:45 +00:00
l10n daemon script
e5d17ec174 GIT_SILENT made messages (after extraction) 2021-11-13 00:25:26 +00:00
l10n daemon script
fdf303b316 GIT_SILENT made messages (after extraction) 2021-11-12 01:52:23 +00:00
Marco Rebhan
583f5717fd m_share only exists when using purpose
(cherry picked from commit ea9e53311e)
2021-11-11 01:04:02 +01:00
Marco Rebhan
ea9e53311e
m_share only exists when using purpose 2021-11-10 14:49:32 +01:00
l10n daemon script
f5c2af0bf4 GIT_SILENT made messages (after extraction) 2021-11-10 00:15:44 +00:00
Albert Astals Cid
981f2f4b1a Merge remote-tracking branch 'origin/release/21.12' 2021-11-09 19:22:48 +01:00
Felix Ernst
7bd0f8f399 Add KHamburgerMenu 2021-11-09 01:27:50 +00:00
Albert Astals Cid
f686f4c6bf Markdown: Don't crash on files with html images, alt text, inside links
If we have code like <a><img></a><a><img></a> and the img has alt text

The old code did
  remove image
  insert alt text
but when we remove the image, the qtextdocument says
  "i don't need the <a> anymore since there's nothing inside"
and then everything breaks because the layout has changed and we're
iterating over "unexisting" text blocks

So instead we just insert the alt text and
since we have selected the image with the cursor it will
replace it correctly

BUGS: 444971
2021-11-08 21:23:06 +00:00
Heiko Becker
86cdd29a86 GIT_SILENT Upgrade release service version to 22.03.70. 2021-11-08 20:40:45 +01:00
Heiko Becker
33fa8b542d GIT_SILENT Upgrade release service version to 21.11.80. 2021-11-08 20:03:08 +01:00
Albert Astals Cid
bb36c93170 Remove wrong Q_UNUSED marker
We're assigning it in the initializers list
2021-11-08 11:16:31 +01:00
Nate Graham
aceed15e84 Improve "can not overwrite" message some more
This commit uses KUIT formatting for the filename part of the string,
fixes a grammar error ("read only" used as an adjective) and adds a bit
more detail for the user to help them figure out what happened.
2021-11-03 05:01:56 +00:00
Heiko Becker
b5eebfa12d GIT_SILENT Update Appstream for new release
(cherry picked from commit 2a00f650c5)
2021-10-31 11:18:54 +01:00
Albert Astals Cid
810e9db2bb Merge remote-tracking branch 'origin/release/21.08' 2021-10-23 11:59:12 +02:00
Albert Astals Cid
2002f4e7e9 Relax the check for non square DPI
BUGS: 444168
2021-10-22 22:23:49 +00:00
Nate Graham
d61a7ddf1c Merge branch 'release/21.08' 2021-10-18 08:58:41 -06:00
Bharadwaj Raju
99209e29f7 Make Quick Annotations button open the full toolbar when no Quick Annotations are configured 2021-10-18 14:58:11 +00:00
Bharadwaj Raju
cc64011e3b Revert ce6582c76 2021-10-18 14:53:49 +05:30
Yuri Chornoivan
6ce455405c Remove extra space 2021-10-15 18:37:03 +03:00
Albert Astals Cid
3657958900 Merge remote-tracking branch 'origin/release/21.08' 2021-10-14 22:37:18 +02:00
Bharadwaj Raju
ce6582c761 Change labels of selection and annotation tools to be imperative
This makes them conform to the HIG and also looks cleaner.
2021-10-14 18:22:19 +00:00
Albert Astals Cid
f9ca87c8a1 CI: add the deb-src of testing since we're based on testing not unstable 2021-10-13 00:23:49 +02:00
Albert Astals Cid
9e2d256a6f Fix bookmark menu actions missing after switching tabs
BUGS: 442668
2021-10-12 23:21:56 +02:00
Christoph Roick
2fc710d10a Restrict quick annotation shortcut context
Only handle shortcuts to quick annotation actions
if the Okular part is focussed. Otherwise, Okular as
embedded plugin might involuntarily steal numeric input
from the main application (like in the Kate preview plugin).
2021-10-07 17:57:44 +02:00
Albert Astals Cid
7ccdd513b9 Merge remote-tracking branch 'origin/release/21.08' 2021-10-06 23:19:06 +02:00
Albert Astals Cid
913560eb78 util.printd: Don't crash if we get an unexpected oDate argument
BUGS: 443255
2021-10-05 22:55:16 +02:00
Heiko Becker
458c72a9c3 GIT_SILENT Update Appstream for new release
(cherry picked from commit 4304bcc397)
2021-10-05 00:16:35 +02:00
Heiko Becker
4304bcc397 GIT_SILENT Update Appstream for new release 2021-10-05 00:16:35 +02:00
Heiko Becker
bdad7ff651 GIT_SILENT Upgrade release service version to 21.08.2. 2021-10-05 00:06:37 +02:00
Albert Astals Cid
a408499889 Make the stamps renderer as static as before
Looking for and loading the SVG file isn't cheap so cache it as we did
in the past
2021-10-01 19:31:23 +02:00
Albert Astals Cid
b3379d331d Fix documentation of AnnotationUtils::loadStamp 2021-10-01 18:55:19 +02:00
Mahmoud Khalil
8b3dfcb3f4 PDF: Add Stamps to the file properly
By using Poppler 20.10 new custom image stamps APIs

Instead of the incompatible hack we used before that only worked for Okular.

This is done by modifying the update function used by PopplerAnnotationProxy in order to load the image in
the correct dimensions and send it to the poppler-Qt5 frontend.

We temporarily store the stamp annotation appearance when deleting it so that we can set it again when doing an undo undo.
2021-10-01 16:04:50 +00:00
l10n daemon script
84c9f3ea2a 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"
2021-10-01 01:22:33 +00:00
l10n daemon script
5aa61f0c41 GIT_SILENT made messages (after extraction) 2021-10-01 00:17:41 +00:00
Albert Astals Cid
80ff9d3a19 Merge remote-tracking branch 'origin/release/21.08' 2021-09-29 18:24:08 +02:00
Albert Astals Cid
bbc775909c markdown: Only remove text if we're going to add something
Otherwise things get confused

BUGS: 443057
(cherry picked from commit 3b8cbc3320)
2021-09-29 18:23:37 +02:00
Albert Astals Cid
3b8cbc3320 markdown: Only remove text if we're going to add something
Otherwise things get confused

BUGS: 443057
2021-09-29 07:47:47 +00:00
Albert Astals Cid
1c3e5b23d2 PDF: Support not contacting OCSP servers when validating signatures
This is sub-optimal since will not check if the certificate has been
revoked but is more privacy friendly since doesn't leak to the
certificate authority server that you're trying to validate a given
certificate
2021-09-28 21:33:07 +00:00
Albert Astals Cid
b22bba31f2 Improve can not overwrite message 2021-09-26 10:07:05 +00:00