| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QQuickPdfDocument is a wrapper for QPdfDocument providing appropriate
QML API.
Task-number: QTBUG-77506
Change-Id: Ifa2ef50d3d31179f1955c2f673495e727b962bd1
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Task-number: QTBUG-77931
Change-Id: I4ca87fe243852866f7595b36858382df2affc780
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fat builds disable NEON for arm, therefore when
doing release setting CONFIG-=simulator is preferable.
Task-number: QTBUG-77931
Change-Id: I59c99f2a38dbc83d15940a691c17277175b5b935
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix platform checks, add initial gn args,
use shared library template for gn to get all
the linker objects. This is just debug build.
Task-number: QTBUG-77931
Change-Id: I9b3f7d3440aec66433ed19f4976e14506fba45dd
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make static builds available for ios.
Task-number: QTBUG-77931
Change-Id: Id122190f51f03f782fd0ee1c897e5b4ff891f703
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove duplicated features.
Change-Id: I0dafd6ae0a5d545d2fed12044499d891c84f80bd
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since 5f9e2f01e we check for spellchecker on windows.
Add missing build support check.
Change-Id: Id53276f6e4e4260832c57181f05822fff274dd04
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pulls in following patches:
* 7e3ec623081 [Backport] Fix for CVE-2019-13720
* 59d24cbd63e Fix QRC cookies for tests with network-service
* 42c122dcb80 Fix Windows sandbox for heterogeneous executables
* 4d310ae5bc3 [Backport] CVE-2019-13700
* d9cbe788437 [Backport] CVE-2019-13701
* 30dfb122e96 [Backport] CVE-2019-13704
* 51fdc9e9dc6 [Backport] CVE-2019-13706
* 9ea3feb658c [Backport] CVE-2019-13711 1/2
* 6ab99196115 [Backport] CVE-2019-13711 2/2
* 394da2e8dd7 [Backport] CVE-2019-15903
* 929d812ae1d [Backport] CVE-2019-13714
* 6c31ac36355 [Backport] CVE-2019-13715
* bf4615cbfa1 [Backport] CVE-2019-13718
* 35fb44f1bdc [macOS] Fix build error with new deployment target
* 03e611b862a Revert "[Backport] CVE-2019-13701"
* 948c21d2163 Support GPU service on UI thread with viz
* 147452f856e Fix previous fix for new macOS deployment target
* 77c86be6077 BASELINE: Update Chromium to 77.0.3865.129
* cf3564f25ee FIXUP: Support GPU service on UI thread with viz
* 040ccbbef2d Fix pdfium build on macOS
* cbc9c4a3c8d Merge remote-tracking branch 'origin/upstream-master' into 77-based
* 1d9d75d072e Fix '/Zc:twoPahse' unknown compiler option warning
* 55c0556c1ca [Backport] Security Bug 1003313
* d5f6e269885 [Backport] CVE-2019-13721
* c1fd5c47504 [Backport] Security bug 1011551
* e9b6a6d0cf9 [Backport] Secuirty bug 1006544
* 8a477bb16f9 [Backport] Security bug 997401
* 6ed410d94fc [Backport] Security bug 995591
* ccde4d23e60 [Backport] Security bug 993266
* 8564d6c04aa [Backport] Security bug 989909
* 6f690b4418f Merge "Merge remote-tracking branch 'origin/upstream-master' into 77-based" into 77-based
* d61464c1e69 Fix is_main_frame in intercept_navigation_throttle
* 41d6b0b2f16 [Backport] Secuirty bug 1014607
* e751f134d6b [Backport] Security bug 1016450
* 5b40e1d793e [Backport] Security bug 1018406
* 7d2876b9557 Fix url_utils for QtWebEngine
* bfea09e6e17 FIXUP: Add net::URLRequest::first_party_url()
* 0d4406b3688 [Backport] Security bug 961614 1/8
* b1a56dab182 [Backport] Security bug 961614 2/8
* b9718cd4aa0 [Backport] Security bug 961614 3/8
* 821f375089e [Backport] Security bug 961614 4/8
* ee18fd483a7 [Backport] Security bug 961614 5/8
* 105f1e578c3 [Backport] Security bug 961614 6/8
* 09050e17c6a [Backport] Security bug 961614 7/8
* 634aff72b47 [Backport] Security bug 961614 8/8
* c5eb4cfff7f [Backport] Security bug 775511
* 120ccb55b5c [Backport] Security bug 1015945
* 939daf833ff [Backport] Security bug 955191
* c7bb975f833 Fix manifests for extensions
* cfab9198a99 BASELINE: Update GN
* 88050fc712d Fix rebuilding of about resources every time
* 4a0ac259d12 third_party quiche: add missing include for iostate
* 819bf79725a [Backport] Set priority for requests whose load is emulated
* db19ca9c53c Fix FlingScheduler in viz mode
* dd8389c580c FIXUP: Fix manifests for extensions
* f473e040f8f Merge remote-tracking branch 'origin/upstream-master' into 77-based
* 325f3b07a56 Fix 32bit sandboxing on Windows
* dc1226a13d9 Disable dumb code
* 8da0a5162d1 Downgrade ninja to 1.8.2
* cc309aa8518 [Backport] Avoid leaking GamepadService in tests
* b7e2744f519 [Backport] Fix for CVE-2019-13727
* 85d5ec666bd Reland [Backport] CVE-2019-13701
* 114a6d752f1 [Backport] Fix for CVE-2019-13730: Type Confusion in V8
* ad6efac8e5b [Backport] Fix for CVE-2019-13732: Use after free in WebAudio
* 446eda0fc43 [Backport] Fix for CVE-2019-13764: Type Confusion in V8
* 13e4a6f608c [Backport] CVE-2019-13734: Out of bounds write in SQLite
* 7d9eea8e630 [Backport] Security bug 1017020
* 3d5ac733f8b [Backport] Security bug 1017961
* 945f5405f3e [Backport] CVE-2019-13736
* 3299cadf406 [Backport] CVE-2019-13737
* b7034d08035 Add icudtl for ios build
* 9130540796e Merge remote-tracking branch 'origin/upstream-master' into 77-based
* 9720a8a9863 [Backport] CVE-2020-6377
* 253d8a0fa71 [Backport] CVE-2019-13728: Out of bounds write in V8
* def05352967 [Backport] Re-land: Only invoke text and element fragment anchors after layout.
* 73ef65b5273 [Backport] CVE-2019-13741: Insufficient validation of untrusted input in Blink
* f49943cf837 [Backport] CVE-2019-13762: Insufficient policy enforcement in downloads.
* 5357f8ae628 [Backport] CVE-2019-13758: Insufficient policy enforcement in navigation.
* 5ca9a877b4b [Backport] CVE-2019-13761: Incorrect security UI in Omnibox.
* 545b591cee6 [Backport] Security bug 1027905
* 9e44d0450c1 [Backport] CVE-2019-13747: Uninitialized Use in rendering.
* f32f09593b6 [Backport] Security bug 1025089
* 684a48706ad [Backport] Security bug 1016703
* ee0ec6e55f0 [Backport] CVE-2019-13757: Incorrect security UI in Omnibox (1/2)
* d5651e21821 [Backport] CVE-2019-13757: Incorrect security UI in Omnibox (2/2)
* 05833b160db [Backport] CVE-2019-13739
* 5e753a5b1d7 [Backport] CVE-2019-13738
* c68e3faa08f [Backport] CVE-2019-13735: Out of bounds write in V8
* c0a7f013646 [Backport] CVE-2019-13754: Insufficient policy enforcement in extensions. (1/3)
* 11f1bad3655 [Backport] CVE-2019-13754: Insufficient policy enforcement in extensions (2/3)
* 9df23a4c06e [Backport] CVE-2019-13754: Insufficient policy enforcement in extensions. (3/3)
* fd8cf772447 [Backport] Security bug 1028191
* 8417e835260 [Backport] Security bug 974375
* 046bd9f50b6 [Backport] Security bug 889276
* 5fc987f210c [Backport] Security bug 1033260
* 9f87a1ede7c [Backport] CVE-2019-13755: Insufficient policy enforcement in extensions.
* cb8bce9edb2 Fix compile issues for ios
* fb54428bc4c Fix crash on page allocator
* e687bc69cdc Fix properly not working about_credits target
* 41d474d0e7c [Backport] CVE-2019-13745 1/2
* 6cd2b35a453 [Backport] CVE-2019-13746 1/2
* e89fce7cfa3 [Backport] CVE-2019-13746 2/2
* b7ce677ea5c [Backport] CVE-2019-13745 2/2
* ca751a77e45 Add fat build support
Change-Id: I080325c412abfc4b81ea8bde4b78381bdde1d46b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pdfium API has changed slightly.
Change-Id: I8f6a5b227f35fd819ac4632d1d816569978b47b0
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I3300fb68dd0b2f3701ca53cd118a4b11a0ac5ede
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Without v8/xfa support, compilation drops to ~650 files.
Disable v8/xfa by default. Enabling v8 enables all xfa support.
For example to enable full xfa support without xfa-tiff:
qmake <src> -- --feature-pdf-v8 --no-feature-pdf-xfa-tiff
Change-Id: I0525c22ed6ed84d5837ab9a238ef2c4219339895
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For now follow webengniecore requirements.
Change-Id: I7260b593e6489f51970b1a4c9dc6cd92067a085c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now you can use Image in QML to display the first page of a PDF file
by default. (The implementation is very similar to the handler
plugin in the QtSVG module.) To display other pages, you can set
the new currentFrame property that is being added to Image in 5.14.
QPdfIOHandler uses its own instance of QPdfDocument to do the rendering.
An instance will be created each time the image needs to read a frame
from the file (on creation; each time the currentFrame property
is changed; each time sourceSize is changed to require a different
resolution rendering). This approach is not as efficient as it would
be to share the QPdfDocument instance among multiple Images that are
rendering different pages at the same time, as well as sharing with the
QML Document declaration that we plan to add. However, if you set
asynchronous: true, each Image will render its page from the PDF in
its own thread. PDFium is not thread-safe, so sharing the QPdfDocument
among multiple threads is not safe. It may be possible to make it safe
by having a dedicated PDF-rendering thread, but that is not yet done
in this patch.
Change-Id: I7a1f8cd7bd5b8f93d45fa9350752b2d9356b04fe
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ifdac9ae6b216605166cefc9dbab60f5ab4b1dcbf
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I6c8dbc3c8d5c8638d7098ab1d4f2999a4c2e6042
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add missing "We mean it."
Change-Id: Ib5efa6829148fcb1f58a252a839386067ffbf8a6
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change adds two new modules to qtwebengine repository.
New modules do not depend on webengine module, however webengine
chromium source code and Chromium "gn" configuration is
required to build QtPdf.
Adding two unrelated modules to webengine might look crazy:
however sharing gn build configuration and Chromium code base
with necessary qt adaptations simplifies code maintenance and
minimises required code checkouts. Back porting of security
patches for Chromium also affects Pdfium. Moreover, Pdfium is no
longer a separate project, but integrated into Chromium:
therefore moving it out of Chromium source tree would require
extra effort.
Rename webengine-core feature to build-qtwebengine-core, this
makes consistent feature naming with build-qtpdf
At the moment two new modules have integrated build, with possible
shortcuts:
qmake -- --no-build-qtwebengine-core
qmake -- --no-build-qtpdf
Webengine build is disabled by default now.
Change-Id: Iac3d9927d51f3ac316db0148d275eda843dcc19b
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Code has been imported from git://code.qt.io/qt-labs/qtpdf to
src/pdf, src/pdfwidgets, examples/pdfwidgets and tests/auto/pdf.
Some git revision history was rewritten to remove conflicting files
like src.pro, examples.pro, tests.pro, .gitingnore, .gitmodules,
sync.profile, .qmake.conf, 3rdparty
Removed unneeded leftovers after import.
Change-Id: Ifc1e02828adfefe8db68d596cd2cb238de22408b
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ia3953e0318a97eabfd917dbefef3bbac65828287
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I96c81d486050aa2e5c6990ee4abbda070f1235e7
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I4fdd53098c32394dbeef58f49b511453079045f9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8bc6327e86c4381966da759cbe6295b327c4d808
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id651a2c179628506f0955751abda57cbae569ee9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I9185320d8a4e725fdbbfe1fde205a2be3bc2113c
Task-number: QTBUG-28886
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The QPdfPageRenderer renders a page of a QPdfDocument for a given
zoom factor. Depending on its render mode, it does the rendering
in the UI thread or a worker thread. Subsequent requests are queued
and processed in order.
Change-Id: I95820cd318cb443b2572f6d3db5a0bee53939bd1
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix the compilation of QtPdf examples when compiled
against a Qt version that uses a custom namespace.
Change-Id: I3bd8d89a3ad1e270ed1d54c2b0a458e967f21cca
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The PDFium library does not support Integrity OS and
Watch/Tv/iOS, so exclude the qtpdf module on those platforms.
Change-Id: I5e05b7e1d1fd4b2f137d41f54a0e32de18d38ac7
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The QPdfPageNavigation class encapsulates the logic of navigating
inside a QPdfDocument. It has the notion of a 'current' page and
provides slots to navigate to the previous/next page or jump
directly to a given page.
Additionally it provides properties to indicate whether there is
a previous or next page, relative to the current one.
Change-Id: I053f3c49ab4a70b2610b64d96d2c274c3d0f629b
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Extend the QPdfDocument::render() method with a parameter of new
type QPdfDocumentRenderOptions to specify the rotation and
additional render flags.
Change-Id: I354acc7fad4d094a96cefcea4dfa3513f4955c47
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Emit the signal whenever the amount of pages changes on
loading/closing the document.
Change-Id: I0555a9cad93cb1f125ded19889eda91e08725592
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The name should be QtPdf and not QtQPdf, to be consistent
with the other Qt module names.
Change-Id: I7844683ff55aab1d9720e81edcd84b57ed335a40
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add roleNames() method to provide proper role names
when used from within QML.
Change-Id: I0ac7e5897edd5f60464c3d99a1eaef85feb56a5e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add a treeview to the pdfviewer example to show the
usage of QPdfBookmarkModel
Change-Id: Ia93d868655a74ea6c41bb28945fe16d0cc740410
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Provide the referenced page of an bookmark entry through a
model role.
Change-Id: Ia1657d75acf0128389ef0de896b242b4e8df87fe
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Sets the window title as the title of the PDF document, enlarges the
default window size, uses unified toolbars on macOS, extends the viewer
area to the edges of the containing window, and removes the Windows 95
style shrunken frame around the PDF viewer.
Change-Id: I38753a2b5492ac0cc0d2a11ae62011ac595a0e70
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Actually moving the files is unfortunately necessary because of a rule
about having the source directory structure match the intended installation
directory structure. It was intended to differentiate widget examples from
future QtQuick examples, but now that distiction is being unfortunately lost
in order to keep the directory structure as shallow as it can still be, after
having to comply with the first rule.
Change-Id: I831227d2be3c8f5cab55a98a531e16bcb3aa0303
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I2caed38ece8067ecdad877dcc278f7828a3cb0bb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I8610d9962298c65358e3d16403208eca4e2060c7
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ibf5bcb6671313e175a50a0caf452c747562da830
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Icf33776f70bdde71f320de0a129361ac28fd18c8
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move the QPdfDocument out of PageRenderer into MainWindow,
since the document is needed there to get more information.
This patch ignores the locking for now, since QPdfDocument::render()
seem to be a read-only action anyway.
Change-Id: Idd322bcb87a296a70a04b60984378049e6c4e4fb
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Call FPDFAvail_IsPageAvail multiple times and check return value,
otherwise the page won't be loaded completely.
Change-Id: I9a6de3443eec6819be9b6eaa2a5b054329da4f80
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I000a398d2347870916bd93b290a1ddf5023fb0ce
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Create a subclass of QMutexLocker which always acts
on the global pdfMutex instance. This way other components,
outside of qpdfdocument.cpp, can lock/unlock the mutex as well.
Change-Id: Id68abb24ac95b2f6d94b20682986a76549518495
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I50e85b8d135dc4fa93211567d195229cd3892086
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Clear the page cache after zoom level has changed, otherwise
the page content won't be rerendered with new zoom level.
Change-Id: If374d65570c0ecce3a94d496d57a8e28dcbf8e0a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Introduce a status property, which describes the current status
of the QPdfDocument during loading/closing workflow.
Change-Id: I2c095c41cfaacb4cd325682def71f80ffe6ab6d9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Guard only the FPDF_* function calls by the PDF mutex,
to make the QPdfDocument kind of reentrant.
Change-Id: I76d448dde2604bd258d140fe6bb667cdee9e93c9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ib25ae8940ff8a35627093031a82c1f25c7c940fc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The passwordChanged() signal is emitted whenever the password
on the document is changed.
Change-Id: I8c35274dba7160b81555eac5bbda37d47cb8c9b7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|