Commit graph

9356 commits

Author SHA1 Message Date
Alexander Lohnau 24c75071be Move sponsoring note outside of SPDX-FileCopyrightText statement 2021-06-10 08:11:56 +00:00
Alexander Lohnau 3c5cfc8abc Convert license files for core/synctex directory 2021-06-10 08:11:56 +00:00
Alexander Lohnau f9cd6c9868 Manually convert license files for fax generator 2021-06-10 08:11:56 +00:00
Alexander Lohnau f2b16bbb0f Download missing MIT license 2021-06-10 08:11:56 +00:00
Alexander Lohnau 2f193a63de Convert license headers to SPDX 2021-06-10 08:11:56 +00:00
Heiko Becker c785887516 GIT_SILENT Update Appstream for new release
(cherry picked from commit 0692e8b037)
2021-06-05 23:06:48 +02:00
Albert Astals Cid 73c3fa57f9 Merge remote-tracking branch 'origin/release/21.04' 2021-06-04 23:45:06 +02:00
Albert Astals Cid e457ceb731 FormLineEdit: Don't run focusin action when gaining focus because of window management
Adobe Reader doesn't do it, and with reason, because otherwise we end up
with:
 * Run focus in script
 * script shows alert()
 * field loses focus and gains it again once the alert() is closed
 * infinite loop

BUGS: 436990
2021-06-04 21:17:41 +00:00
Albert Astals Cid b518c01f1c FormLineEdit: Don't run focusout/formatfield actions when losing focus because of window management
Adobe Reader doesn't do it and if we do it can end up crashing because
we end up running two focusout actions in parallel and our script system
is not prepared for that:

Scenario:
 * Tab out of a field
 * Script for that focusout runs
 * focus goes to next field
 * script for that focusout shows an alert()
 * second focusout script for that field runs while the first is running
 * bad stuff

BUGS: 435833
2021-06-04 21:17:41 +00:00
Albert Astals Cid 812adaa26d FormLineEdit: Move editing=false up in the focus out event
The fact that we don't want to process the focusout/formatfield actions
doesn't mean we are still editing the field
2021-06-04 21:17:41 +00:00
l10n daemon script 1030422319 GIT_SILENT made messages (after extraction) 2021-06-04 01:49:22 +00:00
l10n daemon script dcf3aff4f3 GIT_SILENT made messages (after extraction) 2021-06-04 00:16:42 +00:00
Albert Astals Cid 47b56fb8df Merge remote-tracking branch 'origin/release/21.04' 2021-06-03 00:11:01 +02:00
l10n daemon script 6ad2ebdbbb 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-06-02 02:15:07 +00:00
l10n daemon script 724b9413e3 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-06-02 01:14:44 +00:00
l10n daemon script 3fb0390f2f GIT_SILENT made messages (after extraction) 2021-06-02 00:16:16 +00:00
Albert Astals Cid 92f4ade00c Mark items with name in toolsQuick as default
This way we know we must translate their names when showing it to the
user
2021-06-01 21:34:40 +00:00
Alexander Lohnau 13a394cc17 Port msits kioslave to JSON metadata
Task: https://phabricator.kde.org/T14518

The JSON file was created using the protocoltojson utility from KIO.
2021-05-31 20:49:44 +00:00
Alexander Lohnau 16f70bb2a7 Remove Description property for kioslave
This value is never read in KIO and not exposed in the public API.
2021-05-31 20:49:44 +00:00
Yuri Chornoivan 07a57ea8a3 Add missing space 2021-05-31 08:51:59 +03:00
Yuri Chornoivan 083e3e9240 Sync docs with the current interface 2021-05-30 20:41:20 +03:00
David Hurka 195bbe3636 Create color mode menu.
Implemented using a ColorModeMenu class,
derived from ToggleActionMenu (derived from KActionMenu),
as a child object of PageView.

* KToggleAction for every color mode, allows to set shortcuts for every mode.
  Color mode actions have icons.
* KToggleAction for normal colors mode.
* ToggleActionMenu containing all color mode actions.
  If triggered, toggles color mode between normal colors and last change colors mode.

"Toggle Change Colors" is replaced by "Change Colors", which is actually a toggle action.

BUG: 407217
BUG: 437755
2021-05-29 23:08:56 +00:00
Albert Astals Cid 81344f8aa8 Unbox alert() parameters when they are in an object
API let's you use both arguments or objects with named properties, so
support both.

This fixes the contents of the warning in 435833, the crash is still
there though, working on that next

CCBUGS: 435833
2021-05-24 19:53:03 +02:00
Alexander Lohnau 8b13d989c6
Clean up ServiceType property usage for JSON based plugins
This is no needed anymore, because the plugins are installed into a
specific dir. It is a leftover from the time where the ServiceTypes were
used to find the correct plugins.

Task: https://phabricator.kde.org/T14483
2021-05-21 06:53:52 +02:00
Albert Astals Cid 6e467c343e Merge remote-tracking branch 'origin/release/21.04' 2021-05-20 10:01:04 +02:00
Albert Astals Cid 99788b907e Second attempt at fixing the windows/craft build
Since libspectre includes reference themselves with libspectre/ change
the cmake find_path to also include libspectre/ when doing the include
path search
2021-05-20 10:00:18 +02:00
Albert Astals Cid fefe41b2fc Merge remote-tracking branch 'origin/release/21.04' 2021-05-20 08:56:37 +02:00
Dan Leinir Turthra Jensen 108e568d67 Fix spectre includes
The include path should not be added to the include line, that will make
it be not found if the parent directory for includes is not included.
2021-05-19 22:49:54 +02:00
Albert Astals Cid 1954d43f05 0 -> Okular::Settings::EnumViewMode::Single 2021-05-18 19:10:43 +00:00
Charlie Arehart 16a4015b68 correct grammatical error 2021-05-17 01:08:40 +00:00
Albert Astals Cid 75eb2095f5 Merge remote-tracking branch 'origin/release/21.04' 2021-05-15 23:34:04 +02:00
Mahmoud Khalil b15accd0ae Checks whether the pdf is broken or not
This commit adds support for the to be added functionality in Poppler
which detects whether or not the Xref Table has been reconstructed
2021-05-14 23:00:23 +00:00
Albert Astals Cid 1c349f5448 Use new poppler "fancy signature" 2021-05-14 16:59:41 +02:00
Albert Astals Cid 3ff6ff35ba doc: Try to make it clearer that one one is used not all three
BUGS: 436820
2021-05-12 23:24:54 +02:00
Albert Astals Cid f31152d389 Fix loading some png files inside zip comicbook files
BUGS: 436086
2021-05-12 22:52:07 +02:00
Nicolas Fella 6009e9f526 Use QIcon::fromTheme instead of KIconLoader::loadIcon 2021-05-11 20:23:41 +00:00
Simone Gaiarin 0a41305160 Fix old quick annotations not deleted after reparse
Also refactored the code to populate the quick annotations in order to re-add only the quick annotions and not config actions
2021-05-10 05:36:29 +00:00
Simone Gaiarin c925b224de Fix crash when repopulating quick annotations action 2021-05-10 05:36:29 +00:00
Simone Gaiarin 5d251b725b Use new ToggleActionMenu constructor interface 2021-05-10 05:36:29 +00:00
Simone Gaiarin 068d19de27 Add action to quick annotation menu to show the builtin annotation toolbar 2021-05-10 05:36:29 +00:00
Simone Gaiarin 388b3e54dc Rename action aShowToolBar to aToolBarVisibility 2021-05-10 05:36:29 +00:00
Simone Gaiarin 87fa366c4a Adapt annotation toolbar tests to new toggleable quick annotation 2021-05-10 05:36:29 +00:00
Simone Gaiarin 4408d13886 Refactor code for populating the quick annotations action 2021-05-10 05:36:29 +00:00
Simone Gaiarin 93a4b47332 Remember last used quick annotation tool
A limitation of the current implementation is that when the quick annotation tools are modified by the user, the first quick annotation tool is selected. This because the order of the quick annotation tools may be changed and some tools may have been deleted.
2021-05-10 05:36:29 +00:00
Simone Gaiarin 3d55184116 Do not uncheck quick annotations when the toolbar is hidden 2021-05-10 05:36:29 +00:00
Simone Gaiarin 03b2346e4e Uncheck quick annotation when repopulating the quick tools menu
This prevents undefined states when the currently selected quick annotation is modified or deleted in the annotation settings.

BUG: 426026
FIXED-IN: 21.08
2021-05-10 05:36:29 +00:00
Simone Gaiarin 616b03358f Warn user that quick stamp annotations in PDF are an experimental feature 2021-05-10 05:36:29 +00:00
Simone Gaiarin f8fe30e687 Do not show annotation toolbar when quick annotation tool is selected 2021-05-10 05:36:29 +00:00
Simone Gaiarin 0fb2058e2a Make quick annotation tools checkable
CCBUG: 425438
2021-05-10 05:36:29 +00:00
Simone Gaiarin 6b61909ac5 Select quick tool directly without proxying a builtin annotation 2021-05-10 05:36:29 +00:00