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
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
ba35bbd9e6
emit -> Q_EMIT
...
A future ECM is going to force that on us, so do it early
4 years ago
snooxx 💤
2ad9e6f0b3
Simplify `QPainter::drawRoundedRect` usage
...
After fixing the porting mistake done in 78d983ee , `drawRoundedRect` can
be further simplified to not use any relative sizes anymore.
We can also assume that the code in `dviRenderer::epsf_special` was
supposed to use a constant corner radius and therefore was wrong
initially. By dropping `Qt::RelativeSize` the code might become closer
to its originally intended behavior.
Test Plan:
- No change in behavior for rounded corners of "Welcome" popup message
and "No Annotations" message in sidebar.
- Could not test DVI code path.
4 years ago
Volker Krause
50d0703ae0
Enable readability-braces-around-statements
4 years ago
snooxx 💤
667e73325a
Restore properly rounded corners of popup messages
...
78d983ee led to some rounded corners in the UI not being perfectly
circular anymore: Popup messages would stretch the rounding depending on
message length, and the rounded corner of the message in the annotation
bar would get distorted while changing the sidebar's width.
That commit tried to fix the following `warning: ‘void
QPainter::drawRoundRect(int, int, int, int, int, int)’ is deprecated:
Use drawRoundedRect(..., Qt::RelativeSize)` by changing to
`drawRoundedRect`, but missed to also add `Qt::RelativeSize`.
Adding the missing flag fixes both issues. The change is also
implemented in `dviRenderer::epsf_special` (introduced in be544056 ,
changed in 55dc43bf ) for correctness.
Test Plan:
- Start Okular. The "Welcome" message and the "Document Loaded"
message have perfectly rounded corners again, not depending
on message length.
- Change width of the annotations sidebar: The "No Annotations"
message does not change its rounded corners anymore.
- Running in HiDPI mode retains the correct behavior.
- Note: There does not seem to be a trivial/convenient way to trigger
the DVI code path.
4 years ago
Heiko Becker
fe5847155c
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit b2d872c79f )
4 years ago
l10n daemon script
9cdc390f53
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
5115d6db24
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
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
Heiko Becker
db9dd90925
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 715fd1ac36 )
4 years ago
Heiko Becker
715fd1ac36
GIT_SILENT Update Appstream for new release
4 years ago
Heiko Becker
11448b94b1
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 8a09492a9a )
4 years ago
Heiko Becker
8a09492a9a
GIT_SILENT Update Appstream for new release
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
Albert Astals Cid
84d977dd2d
GIT_SILENT Update Appstream for new release
4 years ago
Albert Astals Cid
09a2b506ed
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 84d977dd2d )
4 years ago
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"
4 years ago
Heiko Becker
b5eebfa12d
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 2a00f650c5 )
4 years ago
Heiko Becker
458c72a9c3
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 4304bcc397 )
5 years ago
Heiko Becker
4304bcc397
GIT_SILENT Update Appstream for new release
5 years ago
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"
5 years ago
l10n daemon script
e6c6e52253
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
9a4f79ff83
GIT_SILENT made messages (after extraction)
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
l10n daemon script
f023cdc5b7
GIT_SILENT made messages (after extraction)
5 years ago
l10n daemon script
cc5849a6f8
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
21f96680a6
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
b022f98495
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
6faaf727f6
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
0c659a5466
clang-tidy: Enable google-explicit-constructor
5 years ago
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"
5 years ago
Heiko Becker
5c16b25a11
GIT_SILENT Update Appstream for new release
5 years ago
Heiko Becker
9672d09900
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 5c16b25a11 )
5 years ago
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"
5 years ago
l10n daemon script
361d084c44
GIT_SILENT made messages (after extraction)
5 years ago
l10n daemon script
7c2bac7d27
GIT_SILENT made messages (after extraction)
5 years ago
Heiko Becker
139b822b0f
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit bf0642bfcb )
5 years ago
Heiko Becker
bf0642bfcb
GIT_SILENT Update Appstream for new release
5 years ago
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"
5 years ago
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"
5 years ago
l10n daemon script
561336f2f0
GIT_SILENT made messages (after extraction)
5 years ago
Heiko Becker
ab812e6a52
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit a0cc1cd31e )
5 years ago
Nicolas Fella
7d15dc1ae6
Clean up include_directories calls
...
Remove unnecessary calls
Convert necessary calls to target_include_directories
5 years ago
Alexander Lohnau
bf4c8da4fc
Manual fixes to license headers
5 years ago
Alexander Lohnau
78fc7e8c91
Fix & clean up SPDX conversions
5 years ago
Alexander Lohnau
2f193a63de
Convert license headers to SPDX
5 years ago
Heiko Becker
0692e8b037
GIT_SILENT Update Appstream for new release
5 years ago
Heiko Becker
c785887516
GIT_SILENT Update Appstream for new release
...
(cherry picked from commit 0692e8b037 )
5 years ago