| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* Respect blend_method.
* Apply dispose_method when rending the *next* frame, and only
for the given frame area.
Change-Id: I60a8c7010a46a2a66339c87f74927a02aee7dcf3
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The ability of building these plugins is part of configure.json and
should not be hard coded. The plugins can be built for winrt.
Fixes: QTBUG-71251
Change-Id: I9a6b0dcdd031d37339282caab4596978c52ae5a0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
For some reason the build of libtiff fails during linking for x86
configurations (unresolved symbols GetFileSize & CreateFile) while it
works as expected for x64 and arm.
Disable that configuration, but keep support for working scenarios.
Task-number: QTBUG-71251
Change-Id: I181a42378584af8c2fffccbb3ddd252e4a057dfb
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
There is a bug in libwebp which prevents building the plugin for an ARM
winrt configuration. Until the bug is fixed upstream, the feature should
not be available for these configurations.
Task-number: QTBUG-71251
Change-Id: I10313d4fe63dc25cefed3153d9acf1f3b12c05a4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
| |
Change-Id: Ifa826410494f65a560fe8dea999d4665f2f1191b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|\
| |
| |
| | |
Change-Id: Iaaf98e10d41867b2c6ceda89cb5c9c315301190b
|
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][Third-Party Code] Bundled libtiff was updated to version 4.1.0
Change-Id: I3e841863c5cf8588bf62b6520f34e64909394998
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ib4b1a3a3604fdce35f61dadc26770ca9b749e008
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For issues CVE-2019-17546 and CVE-2019-14973, the following commits
were merged into the bundled libtiff:
4bb584a35f87af42d6cf09d15e9ce8909a839145 RGBA interface: fix integer
overflow potentially causing write heap buffer overflow, especially on
32 bit builds. Fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16443. Credit to
OSS Fuzz
1b5e3b6a23827c33acf19ad50ce5ce78f12b3773 Fix integer overflow in
_TIFFCheckMalloc() and other implementation-defined behaviour
(CVE-2019-14973)
Fixes: QTBUG-79397
Change-Id: I29257e6dbfbd816224d3dbaefdbe8afecd25f288
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For paletted images, tiff stores a color map with 16 bit deep
entries. When reading such images, the tiff handler tried to be clever
in the 16 to 8 bit mapping, but this resulted in slightly different
result than what libtiff itself produces if asked to read and convert
such an image (TIFFReadRGBAImageOriented()). libtiff simply ignores
the lower 8 bits, so we should do the same.
Importantly, this makes no difference when 8 bit original data is
stored in the orthodox 16 bit way, where e.g. 0xAB is stored as 0xABAB
- like we do. However, the alternative storages 0xAB00 and 0xABFF
exist in the wild, even in sample images in Qt repos.
Also, if we later should want to support proper 16 bit data here, the
previous code was anyway wrong: just dividing with 257 is highly
unorthodox. The correct way would be to use proper rounding like
QRgba64::toArgb32().
Fixes: QTBUG-79522
Change-Id: I7bd90ad7b89a923bd431781f4927b13ad0544407
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I2437b8b4b535e4f02740070e0352e1825c67fa3c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For 1 byte deep formats, the writing routine went through the
copy-and-convert-in-chunks loop for no reason: no conversion was done
or needed.
For huge images of some formats, the chunk size computation could fail
because of int overflow, resulting in suboptimal chunk sizes.
Change-Id: I966351d9a8728987c9e885f4949d98ba94d4ac19
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The compile test for JasPer tried to check for a certain version number
at run time, which is pointless, because we never run this test.
Turn the run-time check into a compile-time check.
Change-Id: I7c9de67a35edadf6a13b32b0faf48ac728a80fc0
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The compile tests were seriously broken, and we didn't notice, because
configure leniently ignores the second level "test" object and the
inline sources provide the absolute path.
Merge the 2nd level test objects with the right ones.
Remove superfluous label entries.
Remove superfluous qmake entries. The inline sources already provide
the right -l argument.
Remove superfluous return statements. The generated main function
already returns 0.
Remove superfluous "type" entry, because "compile" is the default anyways.
Note that the jasper version test is bogus, because these are compile
tests that are not actually executed. The reference to JAS_VERSION is
kept to test for existence of this define.
Fixes: QTBUG-78473
Change-Id: I1d4fa634e29329cfc34c0a2f78b2eb730ef84d50
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Iff3186cf4eccae5fc7e7e3c55c5e6eb662be9519
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This replicates the effects of the fast-forward merge that should have
been pushed on 2019-08-27 as the final down-merge from dev to 5.14.
Task-number: QTBUG-78019
Change-Id: Ied7ff6d61393b0e6db5c5984d8ab735ddaffad72
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I9d9473c2866d9792cd8752816a291be04e39ec19
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|/ /
| |
| |
| |
| | |
Change-Id: I983e2559d27ab5778f0af16f659786c0d78f4338
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: If1b9645fe07fb2cf15dbf2421d6c66b20f02bdb6
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|/
|
|
|
|
|
| |
Adds reading and writing of embedded color spaces on the TIFF plugin.
Change-Id: I53e8a16ff65f7986e9d51a5b543335e27b43e346
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
| |
The WebP encoder doesn't check so we end up with undefined behavior.
Change-Id: Id3a64b2be50684d07e799f97f64481ba57c02ffb
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\
| |
| |
| | |
Change-Id: If594ae6ab8040f90e5ebe754854b412073b734ec
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fix was mistakenly overwritten by the recent 1.0.3 upgrade.
Change-Id: Ifcfeeac075d97d770de471380c506fb739f0b52a
(cherry picked from commit dbfcea2a638d9223bb8d4d9ffc63b0d294b9f97d)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I88bbc7ca2384e7fcafeacf72d0b9a74b9c1cc43e
|
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.0.3
Change-Id: I7aef89e209923af0e516024c26ebce4a8158d4d1
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-74391
Change-Id: I1cbe0e8a7ba8c7c53e16747c8a48d8bdf2b2bebf
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The QImageIOHandler::name() has been deprecated since 5.13, but its
overrides weren't. Enabled compilation of the overrides only when the
QImageIOHandler::name() is compiled.
Task-number: QTBUG-76491
Change-Id: I913f03f730969ea88864a5a08afe50c4eac533ca
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Ia0a5fe32ec96c73758933b319f5cb8f22cc9f344
|
| |
| |
| |
| |
| |
| |
| | |
This amends commit a33e3aea.
Change-Id: I03304f5bf300e5e52476c3f3d6b06b0815009720
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I8ad02040bdd3ce055c48c761b08f9ac1f742a6fa
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I57639389880e5c73025ffe3db9f411fc5b0e78e8
Fixes: QTBUG-75113
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I02bc865209f0092c68e5be1542f54e605c517c58
|
| |
| |
| |
| |
| |
| |
| | |
They are #undef'ed anyway.
Change-Id: Ic1cb3c09b5849f16115d8514fef471825d564f2c
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\|
| |
| |
| | |
Change-Id: Idd134e350e760a0237dce4ef00d10e1c35dbeb67
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-44318
Task-number: QTBUG-62259
Change-Id: Ide5c28015c46b12ee3f21d06badd69db8bed1281
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Clang reports itself as MSVC but doesn't allow intrinsics to be used
unconditionally independent of command-line flags like MSVC does.
Fixes: QTBUG-68551
Change-Id: I65d1ee1aa5c02b7c3a25c10c69c3d5e88129b858
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ie44fe655653166bf5a4436aedd80d060afa45d5a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The mac heic handler lacked support for any meta-data i/o. Most
notably, the image orientation proprty was ignored, so images read in
could be wrongly oriented.
Fixes: QTBUG-73415
Change-Id: I779f91dc28c7441b124aab4557e1abcd3e69fde9
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Avoid using the tmsize_t type, since it may not be defined.
Fixes: QTBUG-74283
Change-Id: I63a496173ec08c6ceac569c516d11a4711e32649
Reviewed-by: Richard Öhlinger <richard.oehlinger@adbsafegate.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|\|
| |
| |
| | |
Change-Id: If83b53844d5110c40d94a2e7a6dbfa1f09604f46
|
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.0.2
Change-Id: I12e1557cef6e592c8c2ca417ef87f6df35a7b410
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|/
|
|
|
| |
Change-Id: I927d9ab0af78baf90d8fd8d44088218dff0e7082
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ib84ba922bb21f9e6c52c3096e7ae0fc10025c202
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][Third-Party Code] Bundled libtiff was updated to version 4.0.10
Change-Id: Ib1908d09fc5847381cb03418de878fafd2001a30
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.0.1
Change-Id: Ieccb9f7c0023e6f6591b6093eead9f6940be3210
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I56fb4e7a178ac79c75a846d9a7bcd8f1f3533673
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libtiff's default stripsize is tiny (8KB), so splitting the image into
such strips on writing would significantly hurt the compression
rate. Aim for 4MB strips instead.
Task-number: QTBUG-70820
Change-Id: I07a9a8c81edf62e802b4ae8d6729a76df15e42ac
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog][Third-Party Code] The unmaintained bundled libjasper has been
removed. Building the jp2 handler will require libjasper to be present as
a system or external library.
Change-Id: Ic48cc6021fc5fb64fb369eb9621fd7a811e8e9f7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|\|
| |
| |
| | |
Change-Id: If9cf53dac5e906350e652e52842f3b54bc3fe65f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This comprises the following libtiff commits, related to the listed
CVEs:
3719385a3fac5cfb20b487619a5f08abbf967cf8 CVE-2017-11613
7a092f8af2568d61993a8cc2e7a35a998d7d37be CVE-2017-11613
de144fd228e4be8aa484c3caf3d814b6fa88c6d9 CVE-2018-10963
58a898cb4459055bb488ca815c23b880c242a27d CVE-2018-8905
981e43ecae83935625c86c9118c0778c942c7048 CVE-2018-10779
[ChangeLog][TIFF] A number of security-related upstream patches has
been applied to the bundled libtiff
Change-Id: I3def9a9b91d0dd2cfd959c5e83d972beed9394d6
Reviewed-by: Liang Qi <liang.qi@qt.io>
|