Albert Astals Cid
91afa74342
Set minimum requirement to Ubuntu 22.04
3 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
Volker Krause
50d0703ae0
Enable readability-braces-around-statements
4 years ago
Alexander Lohnau
2f193a63de
Convert license headers to SPDX
5 years ago
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
5 years ago
Albert Astals Cid
19d98d6a74
Run clang-format
...
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \;
If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
6 years ago
Laurent Montel
516fb89d94
Use camelcase include. (scripted)
6 years ago
Albert Astals Cid
795c7cb01f
Increase kjs requirement for using the timeout check
...
Unfortunately with the new timeout code but older than 5.72 will crash on appAlert
So increase the requirement to > 5.71
6 years ago
Albert Astals Cid
3720833be4
Enable clazy qstring-allocations
6 years ago
Harri Porten
c1afa356c0
Restrict time given for JavaScript evaluation to max. 2 seconds.
...
Possible improvement: alert the user of the timeout and offer
the option to continue or abort execution.
6 years ago
João Netto
56e52eaf3d
Support app.alert and util.printd
7 years ago
João Netto
60ff2f414e
Fixed indentation, bad algebra and moved display enum to KJSDisplay
7 years ago
João Netto
da01333817
Fixed the KJSPrototype pointers and deleted unused arguments.
7 years ago
João Netto
ad858267d1
Implemented display support and updated dependencies to Poppler > 0.79
...
Moved executeScript to document private and support to display options for JavaScript
7 years ago
João Netto
cc10164d34
Implemented initial support for animatedPDF
...
When refreshing, widgets must check if they should be visible
Implemented unit tests to the JavaScript functions.
7 years ago
Laurent Montel
cb691f70dc
Fix some clazy warning
...
Summary: fix clazy warning
Reviewers: aacid
Reviewed By: aacid
Subscribers: nicolasfella, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D20832
7 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Alex Richardson
64afe09e88
Port away from KLocale
11 years ago
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
12 years ago
Pino Toscano
0b847d2926
start implementing properties and methods of the global JS 'app' object
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=809367
18 years ago