Thorsten Behrens
41cab4a30b
Fixup kjsfunctionstest.cpp build for Qt 5.9
...
QScopedPointer::get() is only available from Qt 5.11 on.
7 years ago
Albert Astals Cid
da21543a50
Small performance improvements
7 years ago
João Netto
3eb6a91e25
Changed util.printd to use the default locale on case 2. Also made kjsfunctionstest to be in a consistent locale
7 years ago
Adriaan de Groot
1c1a073c34
Improve testPrintD
...
Summary:
- swap out manual management for a PrintDHelper class that allocates
an action and MessageBoxHelper, runs the script, and checks the
result.
- use _data() to run the helper with different data; this improves
observability as well.
Test Plan: - Run tests, see same results as before
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D23164
7 years ago
Albert Astals Cid
280e87ccdf
test: Switch another QCOMPARE to the right order
7 years ago
Albert Astals Cid
f74dacd0bd
More QCOMPARE -> QVERIFY
7 years ago
João Netto
f9e6b3e6e6
Extended util.printd support to cover new formats
7 years ago
João Netto
7c361d058d
Implemented tests for app.alert and util.printd
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
f3c8bb9299
Changed button code to be transparent when there's no text.
7 years ago
João Netto
7555212d29
Implemented the getOCGs and OCGs methods to support layer changing by JavaScript.
...
Implemented more unit tests to cover the OCGs
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