Jeremy Whiting
4ae7d68857
Fix more Qt deprecations.
...
Mostly QPrinter::Orientation -> QPageLayout::Orientation and
a few things about sizes.
2023-08-10 23:12:39 +00:00
Sune Vuorela
3eee43ffd8
Don't use private Qt api
...
Add some more unit testing to expose some bugs in previous implementation and fix those as well.
2023-08-10 23:06:18 +00:00
Sune Vuorela
88fc4032ac
Random collection of cppcheck fixes
...
- missing consts
- shadowing of variable names
- superflous code
- tighter scoping of some variables
and other such bits
2023-08-10 22:47:57 +00:00
Shivodit Gill
6cc21aea10
Replace Kirigami.AboutPage with MobileForm.AboutPage for mobile build
2023-08-10 21:18:04 +00:00
Shivodit Gill
973c23420f
Package okular icon when building for Android
...
This commit adds the okular icon to the kirigami_package_breeze_icons()
CMake macro in order to package it for the Android app.
2023-08-10 21:01:50 +00:00
l10n daemon script
ff07db7ead
GIT_SILENT Sync po/docbooks with svn
2023-08-09 01:45:37 +00:00
l10n daemon script
b815cd85c9
GIT_SILENT Sync po/docbooks with svn
2023-08-08 01:46:03 +00:00
Sune Vuorela
0018d4fd11
No need to lookup paths for images without a dot.
...
if there is no suffix, the image reader in Qt cycles thru all of the
possible values that it might be able to load to see if such a thing
exists relative to current workdir. If one has configured an annotation
with path from a image, it is very unlikely that such a image does not
have a suffix.
While this is not a problem for most users, on certain so-called
enterprise systems with encrypted file systems and virus scanners and so
on, it makes a slight difference.
2023-08-07 23:20:25 +00:00
Albert Astals Cid
7d1374c9db
Tag the clang-format CI as Linux
...
GIT_SILENT
2023-08-08 00:53:54 +02:00
Sune Vuorela
c5909d0a6d
Better suggested signed name
...
When signing a "filename versioned" pdf, e.g. foo-1.2.3.pdf, the
current suggestion for signed name is weird. the "_signed"
gets misplaced in the middle of the version.
Also, compressed pdf's (pdf.gz) gets up with weird suggestions.
Fix both of these cases and document (by tests) the current behavior.
2023-08-07 22:08:20 +00:00
l10n daemon script
65e99bccfc
GIT_SILENT Sync po/docbooks with svn
2023-08-07 02:03:33 +00:00
l10n daemon script
54a72d01ad
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"
2023-08-07 01:48:35 +00:00
l10n daemon script
22c6f90398
GIT_SILENT made messages (after extraction)
2023-08-07 00:45:24 +00:00
l10n daemon script
67b8078b07
GIT_SILENT Sync po/docbooks with svn
2023-08-06 01:46:45 +00:00
Sune Vuorela
185d4be0dc
Bump SOVERSION of okularcore
...
Various bits of refactorings and fixes broke abi, so better ensure it is
reflected in the libraries
2023-08-05 19:53:07 +00:00
Albert Astals Cid
532cb0cdcd
Initial implementation of app.popUpMenuEx
...
It is defenitely not a full implementation but it's enough for the one
file we have that needs it for now
BUGS: 472764
2023-08-05 18:20:54 +00:00
Albert Astals Cid
0a3f4a78a3
Fix playing of external audio files
...
QUrl::fromUserInput().isRelative() returns false for things like "sound.ogg"
because it converts it to http://sound.ogg
So we use the variant where we give it the document folder, this way if
the file exists returns the local file.
For full urls we get the full url with this second variant so all should
be good
2023-08-05 08:33:35 +00:00
Sune Vuorela
22550bbc05
Improve cppcheck configuration
...
- Ignore autotests sources
- Teach cppcheck about a okular specific define
- Keep the default options from the KDE setup
This at least for me brings the cppcheck entries from "unusable" to "something that probably should be looked into"
2023-08-05 08:25:36 +00:00
l10n daemon script
f7bc35a856
GIT_SILENT Sync po/docbooks with svn
2023-08-05 01:44:57 +00:00
l10n daemon script
bc661a0408
GIT_SILENT Sync po/docbooks with svn
2023-08-04 01:44:53 +00:00
Albert Astals Cid
74fad426f2
Fix phonon not being correctly detected
2023-08-03 23:57:04 +02:00
Sune Vuorela
2f57c3b7b3
Add Breeze Icons to ci environment
...
Some of the tests relies on having them there, for example verifying
that certain icons is not null or clicking on a widget that has some
size based upon the icons inside them.
2023-08-03 06:43:07 +00:00
l10n daemon script
b85476a366
GIT_SILENT Sync po/docbooks with svn
2023-08-03 01:58:28 +00:00
Sune Vuorela
7e3497bb54
Fix markdown converter with libdiscount 3
2023-08-02 21:58:48 +00:00
Sune Vuorela
d816a4cded
Remove unneeded semicolon
2023-08-02 14:21:23 +02:00
l10n daemon script
2637ad3c5b
GIT_SILENT Sync po/docbooks with svn
2023-08-02 01:52:06 +00:00
l10n daemon script
4ea2def09d
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"
2023-08-02 01:40:18 +00:00
Albert Astals Cid
f940ca1e2e
Forms: 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()
* form loses focus and gains it again once the alert() is closed
* infinite loop
The same fix we did in e457ceb731
but for
the rest of the widgets
BUGS: 472756
2023-08-01 22:07:14 +00:00
l10n daemon script
bba7354818
GIT_SILENT Sync po/docbooks with svn
2023-08-01 01:53:25 +00:00
l10n daemon script
0c8db66061
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"
2023-08-01 01:38:49 +00:00
l10n daemon script
bcf2c46685
GIT_SILENT Sync po/docbooks with svn
2023-07-31 01:59:50 +00:00
l10n daemon script
eb676c23fb
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"
2023-07-31 01:38:24 +00:00
l10n daemon script
8081bfe865
GIT_SILENT Sync po/docbooks with svn
2023-07-30 01:47:00 +00:00
l10n daemon script
a9f51e4490
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"
2023-07-30 01:37:06 +00:00
l10n daemon script
6122b98396
GIT_SILENT Sync po/docbooks with svn
2023-07-29 01:44:39 +00:00
l10n daemon script
4968c4102e
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"
2023-07-29 01:36:30 +00:00
l10n daemon script
087ff54396
GIT_SILENT Sync po/docbooks with svn
2023-07-28 01:52:10 +00:00
l10n daemon script
4006d863b6
GIT_SILENT Sync po/docbooks with svn
2023-07-27 01:45:12 +00:00
l10n daemon script
8f93a19fc1
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"
2023-07-27 01:37:10 +00:00
l10n daemon script
21641cee39
GIT_SILENT Sync po/docbooks with svn
2023-07-26 01:45:48 +00:00
l10n daemon script
fcdba722a1
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"
2023-07-26 01:37:55 +00:00
l10n daemon script
a49c88f697
GIT_SILENT Sync po/docbooks with svn
2023-07-25 01:44:46 +00:00
l10n daemon script
b55d9ce54f
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"
2023-07-25 01:36:12 +00:00
l10n daemon script
ab23d2f04e
GIT_SILENT Sync po/docbooks with svn
2023-07-24 08:54:11 +00:00
l10n daemon script
72914f70b6
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"
2023-07-24 08:29:17 +00:00
l10n daemon script
5d1ee8a268
GIT_SILENT made messages (after extraction)
2023-07-24 07:29:59 +00:00
Jeremy Whiting
cc80b3d0e3
Convert okular_part.desktop to okular_part.json and use it.
...
Also fixed the deprecation warning in the generator plugins.
Thanks to Alexander Lohnau
2023-07-23 17:16:07 +00:00
Albert Astals Cid
29810ad3dd
Handle absolute urls in Document::processAction
...
BUGS: 472440
2023-07-23 18:28:56 +02:00
Emir SARI
ad97329acd
Apply i18n to percent values
...
This commit allows localizing the percent values for the languages,
that use a different percent format.
2023-07-23 16:16:24 +00:00
Jeremy Whiting
d491dacf37
Move xps generator away from deprecated QtXml classes.
...
Move XpsHandler bits into XpsPage to parse xml using new classes.
Use QXmlStreamReader instead of QXmlInputSource.
Use QXmlStreamAttributes instead of deprecated QXmlAttributes.
Convert QStringRef return values to string as needed.
2023-07-21 19:20:41 +00:00