l10n daemon script
b910edafb6
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"
4 years ago
l10n daemon script
1626b59fef
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"
4 years ago
l10n daemon script
06612d93f0
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"
4 years ago
l10n daemon script
dfe316c6ec
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"
4 years ago
l10n daemon script
ad813d6667
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"
4 years ago
l10n daemon script
e8d5f24ad4
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"
4 years ago
Albert Astals Cid
030a34f1ff
Fix Windows compile with new stricter defines
4 years ago
Albert Astals Cid
0d40301d50
Add a few definitions that will come with ECM 5.85
...
Better enforce them now, so that the work to port doesn't increase over
time
Not a super fan of this for regular applications, but oh well the ship
has sailed
4 years ago
Albert Astals Cid
8c31962e81
Port a few QLinkedList to std::list
...
here we do quite a bit removals from the middle, so feels better to have
something that is cheap to do that like std::list
4 years ago
Albert Astals Cid
252236d413
Port a few more QLinkedList to QList
...
We don't need the special properties of QLinkedList in any of those and
QLinkedList is deprecated, so move away from it
4 years ago
l10n daemon script
46ddb1abe7
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"
4 years ago
l10n daemon script
5042078495
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"
4 years ago
Albert Astals Cid
0741ef1838
Port away from more QLinkedLists
...
QLinkedList is gone from Qt6
The almost 1:1 port is std::list but we don't need iterator stability on
removal/insertion so just port to QList
4 years ago
Albert Astals Cid
8941e43488
Port away from more QLinkedLists
...
QLinkedList is gone from Qt6
The 1:1 port is std::list but we don't need iterator stability on
removal/insertion so just port to QList (one case to std::vector since
QList needs a copy constructor)
4 years ago
Albert Astals Cid
6767b8739e
Port a few QLinkedList to QList
...
QLinkedList is deprecated in later Qt5 and gone in Qt6
The 1:1 port is std::list but in this cases all we ever do
is create the lists, push back to them, and pass then around
to be read, for that a QList is more than enough
4 years ago
Albert Astals Cid
2d007f27d3
foreach -> for
...
A future ECM update is going to force that on us, so do it now anyway
4 years ago
Albert Astals Cid
a2e1043149
slots -> Q_SLOTS
...
A future ECM update is going to force that on us, so do it now anyway
4 years ago
Albert Astals Cid
ba35bbd9e6
emit -> Q_EMIT
...
A future ECM is going to force that on us, so do it early
4 years ago
Thiago Simão
af91d33070
Create empty inline note and then open dialog to get user's input.
4 years ago
Albert Astals Cid
df68aa0112
Remove extra bunch of {} added by clang-tidy ^_^
4 years ago
Albert Astals Cid
9d3842c796
Move to clang-format 13
4 years ago
Volker Krause
50d0703ae0
Enable readability-braces-around-statements
4 years ago
Nicolas Fella
d1ecad897c
Implement keystroke commit events
...
When a form field loses focus a special keystroke event with
willCommit=true is sent.
This is based on work by Joao Netto <joaonetto901@gmail.com>
4 years ago
Albert Astals Cid
1aa175cf3f
Support SaveAs action
...
If a new enough (unreleases as of now) poppler is available
BUGS: 451010
4 years ago
Nicolas Fella
5e8beb532a
Set correct textfield value on keystroke
...
event.value is the old value, we need to set the new value here
Modifying event.value is not supported when not committing
4 years ago
Nicolas Fella
fd1c312d57
Fix keystroke events
...
event.value is the value before editing, not after
4 years ago
Nicolas Fella
6c8cafbb1c
Simplify keystroke event handling
...
Make it more similar to how we handle the format event.
We pass the new value to processKeystrokeAction, that calls the script
and sets the new value for the form object according to the result. If
needed the widget is refreshed to reflect the new text
4 years ago
Andreas Naumann
147a638619
Adds option editor-cmd to the commandline
...
Adds the option "editor-cmd" for the [feature request](https://bugs.kde.org/show_bug.cgi?id=263732 ) .
BUG: 263732
4 years ago
Albert Astals Cid
feef900250
Make sure helper apps we start are in path
...
QProcess will happily start things in CWD which is not what we want
4 years ago
Albert Astals Cid
8a36e7350d
Make Utils::realDpi work on QWindow not on QWidget
...
Small step towards the goal of okularcore not linking to QWidgets
4 years ago
Albert Astals Cid
a8e5f6e9f7
PDF: Allow signing unsigned signature fields
4 years ago
Albert Astals Cid
fa6743aa04
Support the PDF Print named action
...
Also stop casting directly from a poppler enum to an okular enum, it's
not cool
BUGS: 448791
4 years ago
Albert Astals Cid
f03bbfa89d
PDF: Allow signing documents that need password to open them
...
We need the password since in the middle of the signing process we need to reopen
the document we just created to do some final modifications
4 years ago
Albert Astals Cid
e2ac1dcd1e
PDF: Fix memory leak when the file has Optional Content links
4 years ago
Albert Astals Cid
44c86de7e4
Fix two Signature issues on multipage/multisignature documents
...
First issue:
- The "document is totally signed" was based on the last signature of
the last page (that had signatures) that is not correct and needs to
be based in the last signature by date
- The "Rev #" number was based on the signature on the page, so if we
had two pages with one signature each the model showed "Rev 1" for
both
It adds new API which is not awesome in a stable branch, but the first
issue is important enough that warrants this to go to the stable branch
4 years ago
Albert Astals Cid
d6870ae2ff
Remove deprecated Generator::documentMetaData
4 years ago
Albert Astals Cid
a2576dc746
Act on core/ TODOs that are not binary compatible
...
I'm going to need to break binary compatibility to add a new feature
so may as well cleanup all the TODOs regarding that
Changes:
* Moving a few destructors to the header
* Removing a few unnecessary & in params
* Adding a few necessary & in params
* Making print return an enum instead of a bool and then having another
function that returns the enum
* Make Generator::requestFontData be a virtual
* Remove unused enum
* Remove a few filePrinter unneeded functions
* Remove unused TextDocumentGenerator::addMetaData signal
4 years ago
Oliver Sander
24e48d9f5c
Fix a typo in JavaScript code documentation
4 years ago
Albert Astals Cid
62eec7d5b1
Show the "No signing certs" warning earlier
...
No need to ask for the user to draw a rectangle for the signature
if there's no certs to sign anyway
CCBUGS: 446549
4 years ago
Albert Astals Cid
0d4f463729
Fix implementation of AFNumber_Format
...
We did not take sepStyle 3 into account.
Also sepStyle 1 and 0 where mixed up and it didn't work either because
replace() needs to be assigned back to the string
BUGS: 445868
4 years ago
Albert Astals Cid
2002f4e7e9
Relax the check for non square DPI
...
BUGS: 444168
4 years ago
Albert Astals Cid
913560eb78
util.printd: Don't crash if we get an unexpected oDate argument
...
BUGS: 443255
5 years ago
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
5 years ago
Albert Astals Cid
b3379d331d
Fix documentation of AnnotationUtils::loadStamp
5 years ago
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.
5 years ago
l10n daemon script
7c87c702df
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"
5 years ago
l10n daemon script
7ae4288f35
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"
5 years ago
Albert Astals Cid
1f84075c12
Don't use KMessageBox in document class
...
Just use the existing signals to warn the user about it
5 years ago
Albert Astals Cid
0c659a5466
clang-tidy: Enable google-explicit-constructor
5 years ago
Albert Astals Cid
eee71036a7
Fix crash in bug 400104 again
...
And also make clazy happier so we don't need an exclude
5 years ago