Commit graph

9437 commits

Author SHA1 Message Date
l10n daemon script a225fb6d9a 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-08-28 01:17:34 +00:00
Heiko Becker 9672d09900 GIT_SILENT Update Appstream for new release
(cherry picked from commit 5c16b25a11)
2021-08-27 22:59:54 +02:00
Albert Astals Cid eee71036a7 Fix crash in bug 400104 again
And also make clazy happier so we don't need an exclude
2021-08-27 10:45:35 +02:00
Albert Astals Cid c0de8366fc Merge remote-tracking branch 'origin/release/21.08' 2021-08-27 10:44:29 +02:00
Albert Astals Cid bed447f769 textpage: Don't use the page bounding rect as initial text rect
The bounding rect is *visual* and it can happen that we have
invisible text and thus the algorithm will get super confused
because there will be text items that are outside the text area
2021-08-27 06:52:28 +00:00
Albert Astals Cid b747f0feb1 CI: silence clazy warning now that there's a new clazy version 2021-08-27 00:15:17 +02:00
Frederik Schwarzer d93aaea7dc replace "MacOSX" with "macOS" 2021-08-24 21:00:17 +00:00
l10n daemon script 3dbe3b18f5 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-08-23 02:27:41 +00:00
l10n daemon script 361d084c44 GIT_SILENT made messages (after extraction) 2021-08-23 01:51:24 +00:00
l10n daemon script 7c2bac7d27 GIT_SILENT made messages (after extraction) 2021-08-22 00:15:58 +00:00
Volker Krause 2a7e4416b5 Don't require D-Bus on Android
Also, actually fully disable the build of okularpart, which isn't needed
on Android.

With this Okular can be built for Android without the D-Bus stub, at least
once KIO doesn't pull in D-Bus anymore.
2021-08-20 18:46:50 +00:00
l10n daemon script 568e032a02 GIT_SILENT made messages (after extraction) 2021-08-20 01:49:47 +00:00
l10n daemon script 45baa05248 GIT_SILENT made messages (after extraction) 2021-08-20 00:18:26 +00:00
Yuri Chornoivan d9cb0c9073 Sync docs with the current configurational interface 2021-08-15 09:56:26 +03:00
Yuri Chornoivan 79ce3890a8 Fix minor typo 2021-08-15 08:53:44 +03:00
Simone Gaiarin 60645dfda5 Rename kcfg setting to primaryAnnotationToolBar 2021-08-13 21:28:39 +00:00
Simone Gaiarin f57e12e2e7 Move default annotation toolbar setting to annotation setting page 2021-08-13 21:28:39 +00:00
Simone Gaiarin 5a92d40160 Make annotation toolbar settings labels more descriptive 2021-08-13 21:28:39 +00:00
Simone Gaiarin 54dd173ca6 Use combobox to select default annotation toolbar style 2021-08-13 21:28:39 +00:00
Simone Gaiarin 8ca2498de1 Make annotation toolbar visibility changed connection unique 2021-08-13 21:28:39 +00:00
Simone Gaiarin 5d968d5112 Add new toolbar holding the quick annotations minibar action
This toolbar emulates the old version of the Okular annotation bar
2021-08-13 21:28:39 +00:00
Simone Gaiarin 8837a1138f Add quick annotation minibar action
BUG: 425438
BUG: 425598

Fix #20
2021-08-13 21:28:39 +00:00
Volker Krause a3f242cbcb Remove unused D-Bus include
This matters in the context of the upcoming D-Bus removal from KIO on
Android, which will also allow Okular to build without D-Bus on Android.
2021-08-12 17:01:21 +02:00
Albert Astals Cid f143b323f1 Only show the Stamps warning when adding stamps to PDF files 2021-08-11 09:00:05 +02:00
Albert Astals Cid 76e26fd1fd Merge remote-tracking branch 'origin/release/21.08' 2021-08-09 23:03:45 +02:00
David Hurka 4afd214701 ToggleActionMenu::createWidget(): Do not crash if parent is not a QToolBar
There used to be a Q_ASSERT_X that was triggered when a widget was requested
with something else than a QToolBar as parent widget.

However, when the ToggleActionMenu is added to a QMenu,
createWidget() is called with the QMenu as parent.
This case was missed to be tested, but occurs when the toolbar
is detached/moved by the user.
2021-08-06 13:58:02 +02:00
Heiko Becker 139b822b0f GIT_SILENT Update Appstream for new release
(cherry picked from commit bf0642bfcb)
2021-08-04 23:53:58 +02:00
Heiko Becker bf0642bfcb GIT_SILENT Update Appstream for new release 2021-08-04 23:53:58 +02:00
Heiko Becker 1641a23c4e GIT_SILENT Upgrade release service version to 21.08.0. 2021-08-04 23:40:14 +02:00
Albert Astals Cid 2639524584 Merge remote-tracking branch 'origin/release/21.08' 2021-08-01 01:21:17 +02:00
Kishore Gopalakrishnan 89a8cfc096 Take into account the label size while setting size of the page number box. 2021-07-31 23:17:43 +00:00
Heiko Becker 86a600ff48 GIT_SILENT Upgrade release service version to 21.07.90. 2021-07-27 21:29:28 +02:00
Alex Richardson 0d15048e55 Avoid crashing on startup if DBus isn't running
I am trying to run Okular on a minimal FreeBSD CHERI-RISC-V QEMU
instance and I haven't got DBus running. Without this change, I get
crashes because QDBusConnection::sessionBus().interface() returns NULL
if DBus isn't running.
2021-07-27 19:22:46 +00:00
l10n daemon script 14f9f06f44 GIT_SILENT made messages (after extraction) 2021-07-26 01:41:24 +00:00
l10n daemon script 21bc8bd023 GIT_SILENT made messages (after extraction) 2021-07-26 00:15:50 +00:00
Nate Graham 9819baffbf Merge branch 'release/21.08' 2021-07-23 06:57:50 -06:00
David Hurka c399a11054 Fix Page Up/Down scrolling when scrollbars are turned off
PageView::slotScrollUp/Down() queried the size of the scrollbar instead of the viewport,
which has no obvious reason and doesn’t work when scrollbars are not there.

Probably the scrollbar size was thought to be more robust
in times when PageView had overshoot enabled.

Also fixes code documentation for these methods,
and removes another spaghetti feature where Continuous mode was queried
in an `if` branch before the one where it is relevant.

BUG: 421822
2021-07-22 21:05:53 +00:00
Josef Filzmaier 1d90817660 Replace kWarning with qWarning
Even in comments
2021-07-16 00:11:53 +02:00
Yaroslav Sidlovsky 1047fd1df7 Fixed encoding detection for small texts (up to 3000 bytes)
BUG: 334733
(cherry picked from commit 929c94e09d)
2021-07-14 21:58:28 +02:00
Yaroslav Sidlovsky 504eec7688 Fix non unique KPlugin Id for fictionbook generator
BUG: 439807
(cherry picked from commit 8dc58c7617)
2021-07-14 21:58:22 +02:00
Yaroslav Sidlovsky 929c94e09d Fixed encoding detection for small texts (up to 3000 bytes)
BUG: 334733
2021-07-14 08:23:20 +00:00
Yaroslav Sidlovsky 8dc58c7617 Fix non unique KPlugin Id for fictionbook generator
BUG: 439807
2021-07-13 22:00:42 +00:00
Alex Richardson 0f4f3b1902 Fix -Werror build failure in synctex parser
I am cross-compiling with clang for FreeBSD and the build is failing with:
error: initializing 'char *' with an expression of type 'const char [1]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]

Mark the char pointers as const to fix this build failure.
2021-07-12 14:18:39 +01:00
l10n daemon script 5447aa1021 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-07-11 01:11:37 +00:00
Albert Astals Cid 7876ccac65 GIT_SILENT Upgrade release service version to 21.11.70. 2021-07-10 20:05:41 +02:00
Albert Astals Cid 3ae6c9a443 GIT_SILENT Upgrade release service version to 21.07.80. 2021-07-10 18:46:40 +02:00
l10n daemon script 16da5cb4b4 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-07-06 01:14:42 +00:00
l10n daemon script 561336f2f0 GIT_SILENT made messages (after extraction) 2021-07-06 00:15:45 +00:00
Heiko Becker ab812e6a52 GIT_SILENT Update Appstream for new release
(cherry picked from commit a0cc1cd31e)
2021-07-05 21:05:39 +02:00
Nicolas Fella e95adea486 Remove dead code
There's always at least one tab since an okularpart is created at startup.

The supported minetypes are always read from this so fileFormats is never called.
2021-07-04 21:42:49 +00:00