| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Work around a shortcoming in libtiff where it spends time discovering
the corruption.
Fixes: QTBUG-107223
Change-Id: Ib5da260fe971d0f7d808f7215bf388c443318cb4
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
(cherry picked from commit 4f83c3ebfdb2bc97162ac1065091c195b60ff5fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A lacking #include of stdlib.h leads to a compilation warning and
runtime reading failure on some platforms. Observed on MSVC2019 in
debug mode.
Fix by applying commit cbd71793f58c0eda8128f799d415c56e5c64eaa5 in the
upstream libtiff repo.
Fixes: QTBUG-107040
Change-Id: Ic76c4627632302423d0e0f8f1b51df342e62b420
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
(cherry picked from commit 64e455da1c05a9fafe7125690053fb951268a733)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.2.4
Change-Id: Ibd50e3ee67dbe0f7c385224cd9e07df75ea838b9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 91c2c3832d1853c737998a1277957d487ef1301f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Those were added earlier, but the doc was not updated.
Change-Id: I89f762d4172bba77ff4e3d85b80eef3017315358
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 6af4b9e7a4653fb733416834d2cb51a7a37106c7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Fixes: QTBUG-104692
Change-Id: Ia08f10166cfef5998e13cf3fd07029df63712469
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit db3b78e1cf25e9cf8e88e6510e33aaf72618c9d8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
The page was just a stub; apparently nothing worthwhile to report
changed in Qt ImageFormats for Qt 6.
Change-Id: Ic99ea35005a2fb0d111e345c1e7eac1baf659bea
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit cdd84c8b3ed8f57948de5e5fe09ee4714298a6ab)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
using new APIs prevents the runtime deprecated warning.
also note the memory limit is now set to 500MB
Task-number: QTBUG-104398
Change-Id: I1b307ec33c6a540a5fb9121214d89a73a509a0d3
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 4011d03f84d19bdfa6e30b6b7a6792f90b30a259)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to jasper's documentation, the second argument should
be 0 instead of -1, to acquire such a dynamically growing
buffer. This also causes a runtime crash due to the signedness of
size_t.
Fixes: QTBUG-104398
Change-Id: I173c6b7c9802c22fe0fa01083a71bf3b6ca7b134
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit ad2e721683b7c68748b05862fe8cf33bf63ebf55)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
License files are organized under LICENSES directory.
Task-number: QTBUG-67283
Change-Id: I775d4a0c07b2b82a097d36649203e7f6223fdc51
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 8a62fb36a8c456fb4e1229cca8bfca88f6e57890)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Fixes oss-fuzz issue 47689: "load of value 65, which
is not a valid value for type 'ICNSEntry::Depth'"
Change-Id: Ia1b119d863e9518e308117ed1dd6a297297bc537
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit ea4684c6b17110d4ce0504f382da16462c048662)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Bundled libtiff was updated to version 4.4.0
Pick-to: 6.3 6.2 5.15
Fixes: QTBUG-103337
Task-number: QTBUG-103671
Change-Id: I94a26d2d2186e4ea881588a04b0eafae0432be29
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Q_MOVABLE_TYPE was conceived before C++ had move semantics. Now, with
move semantics, its name is misleading. Q_RELOCATABLE_TYPE was
introduced as a synonym to Q_MOVABLE_TYPE. Usage of Q_MOVABLE_TYPE
is discouraged now. This patch replaces the last usage of Q_MOVABLE_TYPE
by Q_RELOCATABLE_TYPE in qtimageformats. As the two are synonymous, this
patch should have no impact on users.
Task-number: QTBUG-86829
Change-Id: Ia36e46516445c674fbb4512f82e67c2a6bfabb87
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTBUG-103454
Pick-to: 6.3 6.2 5.15
Change-Id: I169b0de8465bc5d90aebfd8250db0361819065c5
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The template is instantiated, but only forward declared after recent
cleanup of transitive includes.
Pick-to: 6.3
Change-Id: Id43dfe4dc8aa20815ff6b5f64ab307a269ce6c67
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.2.2
Pick-to: 6.3 6.2 5.15
Change-Id: I9ddb18c0a8c247799d9e26ea32131c26295d0f4b
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This adds MNG_DECL (i.e. stdcall) attribute to mng related functions.
Without this, the i686 MinGW gcc shows this error:
invalid conversion from 'void* (*)(mng_size_t)' {aka 'void* (*)(unsigned int)'}
to 'mng_memalloc' {aka 'void* (__attribute__((stdcall)) *)(unsigned int)'} [-fpermissive]
Change-Id: I5aac8480472f803fa347b26e7d2fa6c7796d72e3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.2.1
Pick-to: 6.2 6.1 5.15
Change-Id: I68082fde6d20d32be87444f471520fb1e8091bf9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95170
Pick-to: 6.2
Change-Id: I375fdfe41dcb17846a97ff5ae2dbfa38493360a2
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plugins shouldn't have public usage requirements.
Amends dc8debe54474f00d374231ce3d619a8209a2f643
Pick-to: 6.2
Task-number: QTBUG-90819
Change-Id: Ieb10cb885f11ba1e18d0957a93db07bd87dd8aaf
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pro2cmake.py conversion script faithfully reproduced the .pro files
for the plugins, which specified the libraries as public. But in CMake,
the implications of this are that public usage requirements should then
be propagated to consumers. We don't expect any consumers, since a
plugin is created as a MODULE library in CMake, so for Windows we don't
even have an import library to link with. The only exception to this is
for static builds where plugins are created as STATIC libraries
instead, but only in certain controlled situations do we then link to
plugins. Even then, usage requirements are not expected to propagate to
the consumers, so these relationships should always be specified as
private.
Pick-to: 6.2
Task-number: QTBUG-90819
Change-Id: I8ec7cf501c13cfc9b107ae38f70cba3536b196e4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the configure.json and configure.pri files that
were used for the qmake-based configure.
Remove the .prev_*.cmake files that were a by-product of
configurejson2cmake.py.
Pick-to: 6.2
Task-number: QTBUG-89536
Change-Id: I3a760b05d7e37e34779b0fb721425ceb0998cbfd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog][TIFF] Read/write support for floating point image
formats added.
Change-Id: Ib952ef9bfe7e38426f018515a5f92ed56c732a6f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Bundled libtiff was updated to version 4.3.0
Pick-to: 6.1 5.15 5.12
Change-Id: I4be8884394db6de7a2aedd4c41abc49a1e565917
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
|
|
|
|
|
|
|
| |
Zlib is renamed in Qt to ZlibPrivate according to the internal module
naming policy.
Change-Id: I7b10cefb49dbf4320c91016a05011978ceee01d2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I9b43b627c834a4eead2f02ee273ccadd92d69fa0
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
The 3rdparty NEON libwebp sources need to built for the macOS and iOS
arm64 slices when doing a universal build.
Task-number: QTBUG-85447
Change-Id: Id55e58027adbea9e3d83e1a4b7309ff36cf01453
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the imageIO's common QImage creation function that implements
QImageReader's allocation limit that was introduced in Qt 6.
A few related checks against corrupt image files added as driveby.
Pick-to: 6.1 6.0
Change-Id: If5b87cd1b7b2de67ecd023a82ae2168a032fa52e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check that the actual scanlines to be read by libtiff are not
wider than expected.
This issue was reported by Samuel Groß and Natalie Silvanovich of
Google Project Zero.
Pick-to: 6.1 6.0 5.15 5.12
Change-Id: I2af818d5a3c57643747a7fbfac8bb934cd79efd7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.2.0
Pick-to: 6.1 6.0 5.15 5.12
Change-Id: Idb95b278c613361d82ea32bd9f591fbe87bfe66f
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Bundled libtiff was updated to version 4.2.0
Pick-to: 6.1 6.0 5.15 5.12
Change-Id: I376c88638ede59fa4fe316c1468035564218a334
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add check against corrupt tiffs where libtiff can report conflicting
values of tile width, length and byte size.
This issue was reported by Samuel Groß and Natalie Silvanovich of
Google Project Zero.
Pick-to: 6.1 6.0 5.15 5.12
Change-Id: Icb9c20317746190c446c93b474f5c490a805551c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add cmake/FindLibmng.cmake based on qtbase/cmake/FindLibb2.cmake .
Enable mng if found and link to the imported target provided by
FindLibmng.cmake so that mng can be used.
Libmng 1 did not come with a pkgconfig file and it is still
in use so FindLibmng will use the normal cmake procedures if
pkgconfig fails to find libmng.
Pick-to: 6.1
Change-Id: Iecf4ede700b1bfdab84c98c7333547f0bcecc6b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This includes removal of the corresponding .prev_CMakeLists.txt files.
Pick-to: 6.1
Task-number: QTBUG-88742
Change-Id: I43bd344cd515aa2f671d012c64f281e8fc4793c9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.0
Change-Id: I8dc7a639a8cbabafb309ae298f1a5f9250bf055e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.0
Change-Id: Ifc9d3ee1d856c750556962b0fac8d054fcfee970
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
pro2cmake only generates qt_internal_add_docs() calls for module
targets. qtimageformats doesn't have any modules, but still needs
documentation. Create a custom interface library target and
provide it as the argument for the qt_internal_add_docs() call.
Change-Id: I1cf4942f291cff90b7765534a8db7630c2c9cd78
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The content in the porting guides are closer to a changelog than
a porting guide. At this point, it is easier for maintainers and
contributors to write in a changelog than a guide. This change
should help with readability and is closer to the usage of
"Changes" in documentation.
Part of a rename in other submodules.
Task-number: QTBUG-87156
Change-Id: Ibc0ef3d39c2d5defb0ef8b1e7f1e9f83cac83a52
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 2878f06e5bd75029f699ce1564144c3a83a8b00e warnings are printed to
stdout when a tga file could not be loaded. But canRead(QIODevice*) is
called when the image format is not yet known which leads to unexpected
warnings. Therefore remove the warning there again.
Change-Id: I0ea8cb13b3fb655ed4eeea008a67e26a04e72892
Pick-to: 5.15
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
When an image could not be loaded, the error message from QTgaFile was
lost so the user could not find out why the load failed. Therefore print
it out with qWarning().
Change-Id: I7ef7d8488ddd6c0c2be1d14caeb9ead528eb755f
Pick-to: 5.15
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
|
|
|
|
|
|
|
|
| |
Modify special case locations to use the new API as well.
Task-number: QTBUG-86815
Change-Id: I045015a4f3b78f15570ea401d2b99ea1b75ec414
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Also, adjust section levels and add "." to the brief to
silence a QDoc warning.
Task-number: QTBUG-84051
Change-Id: I3adca1d56d931dbf4181c96ac150e6ccd79ea388
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-86815
Change-Id: Ie06af33cee62d1742fabc4b992e6bc5a68fcc6a1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In their current state theses files contains invalid json. While they
are parsed successfully by qtattributionsscanner, they cannot be loaded
by libraries such as Python's json module.
This patch fixes this.
The output generated by qtattributionsscanner stays the same.
Pick-to: 5.15
Change-Id: I4692a8e99a492c401d42320beacbc103c6a61319
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp:844:41:
error: no declaration of «pow»
844 | const double jasperRate = minRate + pow((double(quality) / double(maxQuality)), 2) * maxRate;
Pick-to: 5.15
Change-Id: I085996c2db2251903b2a3e52e6e648831637c8f9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
| |
Change-Id: Ic90321394120d498343335d1de2e1ee9cdf82ace
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84469
Change-Id: I2edb875a4c3742adc9f52becb727e709a2beb7b9
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
|
|
| |
This will show the usual configure summary reports.
Change-Id: I01d5cde762d47e7b7abbeda6fc331dde5cf9234b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-84434
Change-Id: I4ece23ce592b878197151a801d183891f3f6539f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Ensure the ICC block is aligned before parsing and clear the writer
after we have initialized it.
Fixes: QTBUG-84267
Pick-to: 5.15
Change-Id: I7e16ee7663dbe404b4819769deab7d9c9b6c8f20
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\
| |
| |
| | |
Change-Id: I5afd4c2812825b822b4a855f4f0ef23b5d8562af
|