Commit graph

9248 commits

Author SHA1 Message Date
Gerd Wachsmuth
0a23d4a001 Fix a bug with zoom levels on cropped pages
BUG: 342003

Uses ideas of https://bugs.kde.org/show_bug.cgi?id=342003#c5
2021-04-08 22:27:20 +02:00
Albert Astals Cid
d3b2317ab7 conf: Fix layout warnings
QLayout: Attempting to add QLayout "" to DlgGeneral "", which already has a layout
QLayout: Attempting to add QLayout "" to DlgPresentation "", which already has a layout
2021-04-05 10:35:21 +00:00
Albert Astals Cid
997e1d9137 Fix playing RichMedia annotations
BUGS: 434962
2021-04-05 11:41:02 +02:00
David Hurka
01c240c06d Fix white background flashing up when using Invert Lightness/Luma
These color modes make white background black,
but PagePainter wasn’t updated to draw black background
when pixmaps are not yet available.

BUG: 431372
2021-04-04 14:46:00 +02:00
Yuri Chornoivan
931dca1514 If FB has multiple authors, show them all 2021-03-27 18:28:03 +02:00
Albert Astals Cid
c38af3e695 Add a few more formats supported by qimageformat plugins
BUGS: 434888
BUGS: 434889
2021-03-24 23:42:05 +01:00
Carl Schwan
c8146dac80 Update screenshots in metadata 2021-03-22 22:15:44 +01:00
Nate Graham
157377b007 Fix multi-document open test failure
Fixes the test failure introduced with
d0b9b138cc.
2021-03-17 16:28:50 -06:00
Nate Graham
d0b9b138cc Switch to existing document in new tab by default
Right now Okular defaults to opening an already-open document in a new
tab when opened a second time, which is a bit odd. Most other
document-based apps will switch to the existing document's instance
instead of opening a new instance of it.

Interestingly enough, Okular has an option to do this, but it's off by
default. I think on by default makes more sense here, to be consistent
with other document-based apps. Since the option exists, people who have
a specialized use case that commonly involves opening multiple instances
of the same document can toggle the option to have that. Everyone wins!

BUG: 432942
FIXED-IN: 21.04
2021-03-17 10:00:54 -06:00
Albert Astals Cid
c2d7252193 GIT_SILENT Upgrade release service version to 21.03.80. 2021-03-13 21:25:09 +01:00
Yuri Chornoivan
272b386f58 Enhance FictionBook support: book annotation, text-author for the cite, section subtitles
BUG: 340134
2021-03-11 22:02:15 +00:00
Albert Astals Cid
3f923aa7b5 Move to new appstream format for mimetypes
It seems using mimetypes+mimetype is bad and now you have to use
provides+mediatype
2021-03-10 00:24:14 +00:00
George Florea Bănuș
5e5fcd88bb Fix loading files from cbr file on windows 2021-03-09 23:09:12 +02:00
Nicolas Fella
9af0bdee95 Remove dead cmake code
It's not needed
2021-03-09 13:44:44 +00:00
George Florea Bănuș
e6f82a50cf Fix unrar detection on Windows
CCBUG: 412413
2021-03-09 00:14:31 +00:00
Oliver Sander
ccda6d2a65 Remove device pixel ratio scaling from PixmapRequest
The PixmapRequest constructor expected width and height in logical
pixels, and scaled them to device pixels.  However, not knowing what
screen the request is for, it had to use qApp->devicePixelRatio()
for the scaling.  That value may not be correct if not all screens
use the same scaling.

Fix this by introducing a new constructor that takes the device
pixel ratio as an additional argument, and deprecating the old
constructor.
2021-03-08 00:23:11 +01:00
Albert Astals Cid
e3d090e9ab Merge remote-tracking branch 'origin/release/20.12' 2021-03-01 00:37:10 +01:00
Albert Astals Cid
6f5b23290f presentation: Show better the status of the "playing" button
This fixes the issue that it's not obvious how to stop the next page
timer if a pdf has defined a given duration.

BUGS: 432416
2021-02-28 23:05:57 +00:00
Albert Astals Cid
88200f4f25 Merge remote-tracking branch 'origin/release/20.12' 2021-02-25 19:09:43 +01:00
Albert Astals Cid
f8fa27e218 pdf: Fix InPlace text annotations being loaded as linked
BUGS: 432009, 432932
2021-02-24 23:25:25 +00:00
Heiko Becker
5044a63cd4 GIT_SILENT Update Appstream for new release
(cherry picked from commit 5951fc2731)
2021-02-25 00:25:13 +01:00
Heiko Becker
5951fc2731 GIT_SILENT Update Appstream for new release 2021-02-25 00:16:41 +01:00
Heiko Becker
e8194ba631 GIT_SILENT Upgrade release service version to 20.12.3. 2021-02-25 00:04:31 +01:00
Albert Astals Cid
22d244ab8a Remove obsolete AUTHORS file
It's already bad enough that the copyright claims and the about dialog
has obsolete info, we don't need yet another place where there's
obsolete info.

People interested in AUTHORS can read the git log
2021-02-17 21:50:37 +00:00
Michael Augaitis
9f5c05028d Make ESC key leave fullscreen
BUG: 366276, 417337, 269677
2021-02-09 23:57:47 +00:00
David Hurka
53a9f56668 Presentation config: Replace transitions checkbox by “Instant” item in combobox 2021-02-04 10:24:57 +00:00
David Hurka
f69026dd7f Disable KXMLGUI workaround for adding toolbars at ≥ KF 5.78 2021-02-03 13:58:25 +00:00
Marat Radchenko
c1583999d0 Add support for halign/valign and colspan for tables in FictionBook
Note that this commit does *not* add support for rowspan
2021-02-02 00:34:24 +03:00
Luigi Toscano
06da016391 Use the canonical URL for docs.kde.org addresses
Those are the stable addresses which will survive all changes.
2021-01-31 00:12:36 +00:00
Albert Astals Cid
d93a4bbd91 Use extensions instead of mimetypes on non Plasma environments 2021-01-30 10:37:24 +00:00
Albert Astals Cid
db5c540d27 Merge remote-tracking branch 'origin/release/20.12' 2021-01-30 11:37:07 +01:00
Albert Astals Cid
2d69bd6e3a Reload xml to update shortcuts when they change in other parts
Or if we are using and "old" kxmlgui, reloadXML every time
2021-01-29 23:58:56 +00:00
Heiko Becker
1c97e60dbd GIT_SILENT Update Appstream for new release
(cherry picked from commit 2aff8958b1)
2021-01-29 21:09:47 +01:00
Heiko Becker
2aff8958b1 GIT_SILENT Update Appstream for new release 2021-01-29 21:09:47 +01:00
Heiko Becker
4d565fc25e GIT_SILENT Upgrade release service version to 20.12.2. 2021-01-29 20:47:26 +01:00
Albert Astals Cid
084631d11e Use more standard cmake functionality to search for discount
Instead of rolling our own, that's harder to understand and buggy anyway

BUGS: 431311
2021-01-24 11:16:49 +00:00
l10n daemon script
c637a7e1dd 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-01-24 11:11:14 +01:00
l10n daemon script
256ad59705 GIT_SILENT made messages (after extraction) 2021-01-24 09:10:24 +01:00
l10n daemon script
dd621979cd 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-01-24 06:51:51 +01:00
l10n daemon script
45a50b2d81 GIT_SILENT made messages (after extraction) 2021-01-24 02:27:21 +01:00
Albert Astals Cid
e407f3be94 Merge remote-tracking branch 'origin/release/20.12' 2021-01-17 01:37:16 +01:00
Albert Astals Cid
23af5aae7f Fix an unexpected file type being the default on open (non Plasma desktops)
BUGS: 430728
2021-01-17 00:53:09 +01:00
Carl Schwan
0f088dcbf3 Improve identation in Epub rendering
CCBUG: 321956
2021-01-16 23:07:11 +00:00
David Hurka
ed87909807 Move “Advance automatically” checkbox to its spin box 2021-01-10 14:52:40 +00:00
Albert Astals Cid
31ce72e975 Merge remote-tracking branch 'origin/release/20.12' 2021-01-10 10:57:42 +01:00
Albert Astals Cid
d0f4c3120e We're using clang format 11 on CI now 2021-01-10 10:56:31 +01:00
Albert Astals Cid
4880e609af CI: Switch to new clang-format 2021-01-10 00:51:48 +01:00
David Hurka
7e9b0b09f2 Move “Use custom background color” checkbox to its color button. 2021-01-04 15:46:22 +01:00
Christoph Feck
9f80401853 GIT_SILENT Upgrade release service version to 20.12.1. 2021-01-02 14:15:39 +01:00
Yuri Chornoivan
1dfecc7893 Polishing docs 2021-01-02 09:39:47 +02:00