summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on 'dev' in qt/qtsvgHEADdevQt Submodule Update Bot4 hours1-1/+1
| | | | | Change-Id: I58a5c4768c0ab7261d65ec5a2ff30f60dc300078 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CMake: Fix no-widgets buildAlexandru Croitor10 hours1-2/+2
| | | | | | Task-number: QTBUG-86053 Change-Id: I356d9b551209a2870e9484112658d0470d056a85 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Allow loading SVG files with a doctype declarationNicolas Fella11 hours2-6/+6
| | | | | | | | | | | | | | | SVGs may have a DOCTYPE declaration (https://www.w3.org/TR/2003/REC-SVGMobile-20030114/) in their first line. This patch makes sure those SVGs are loaded properly Fixes: QTBUG-87583 Pick-to: 5.15 5.12 Change-Id: Ia3dcb519b6ee2b498dc81ef496764d99ea6c4a9a Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot17 hours1-1/+1
| | | | | Change-Id: Ide97f6d4fc9cca3161077e54d46d98c867b0ca58 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot23 hours1-1/+1
| | | | | Change-Id: Id9e6a7bfe359a7072d70c08fb71277693b220e4f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot27 hours1-1/+1
| | | | | Change-Id: I1750f6739f822fc7bbf56a307e6a0eccabac4218 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot33 hours1-1/+1
| | | | | Change-Id: Iea55e56526e18c5f6c0c0c903bba42dd59b22ebe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot41 hours1-1/+1
| | | | | Change-Id: I41396bffc504baccef5bbaca47777a16659ee094 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot4 days1-1/+1
| | | | | Change-Id: Idf5a0c4a8653f5d1ae78af56edc0aff9bd2d7a75 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Reject corrupt svgs with invalid sizeEirik Aavitsland5 days1-0/+4
| | | | | | | | | Fixes oss-fuzz-24735. Pick-to: 5.15 5.12 Change-Id: I626905562d37b1e53bd346b13bd88894401818ca Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot5 days1-1/+1
| | | | | Change-Id: Id0bb76b1c85a087e4444de1d23749cfe857a60ae Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgv6.0.0-beta1Qt Submodule Update Bot6 days1-1/+1
| | | | | Change-Id: Ia746be0b0bd95d14e1d4743ba16da27a7a8f6ea8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot6 days1-1/+1
| | | | | Change-Id: I309682fc69dabe9d99d988ba90470fcac928e6f1 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot7 days1-1/+1
| | | | | Change-Id: Ibea254ac8e7e55db6f4e5c0f1e4bc622ce76b70e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot8 days1-1/+1
| | | | | Change-Id: Iab97a49528d9b10c522b60f958107a3a31271a7f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot9 days1-1/+1
| | | | | Change-Id: Ib886b00f526735a2cedd500448026567cbf4cc9f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-10-071-1/+1
| | | | | Change-Id: Id2a639bc587330c27c9ab153c7a9dc09f489d54d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-10-021-1/+1
| | | | | Change-Id: I9091bafb6722e8716bb9cbe305975105c32a68b5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CMake: Disable usage of CMake API compatibility wrappersAlexandru Croitor2020-10-011-0/+5
| | | | | | | | | Setting the QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS variable in the project ensures we ported away from old API calls. Task-number: QTBUG-86815 Change-Id: I631565e8284250f14a88779b1a9b19b75830ca41 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* CMake: Regenerate projects to use new qt_internal_ APIAlexandru Croitor2020-10-0110-28/+38
| | | | | | | | Modify special case locations to use the new API as well. Task-number: QTBUG-86815 Change-Id: Ie75a59430afde730291fb3b3e01fb4822f543e2f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update dependenciesUlf Hermann2020-10-011-1/+1
| | | | | | Change-Id: I38f41b27522c161d50b1e7cb5da4168a251d60b2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
* Update dependencies on 'dev' in qt/qtsvgv6.0.0-alpha1Qt Submodule Update Bot2020-09-281-1/+1
| | | | | Change-Id: Id786499e42dfb264e40d4c44a6061b1e178c105f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Doc: Add Qt 6 changes filePaul Wicking2020-09-242-0/+50
| | | | | | Task-number: QTBUG-84051 Change-Id: I8a03ac02849a2babeee6fe8cc60f7540520af949 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* delayedencoding example: adapt to QMimeType changeFabian Kosmale2020-09-232-2/+2
| | | | | | Fixes: QTBUG-86853 Change-Id: Idfd6aef8dae89163c5941499c968acd4948a4783 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-231-1/+1
| | | | | Change-Id: I531045da43aadc461a505212a45dbf7d2626e8b9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CMake: Regenerate projects before API changeAlexandru Croitor2020-09-2210-8/+68
| | | | | | | Task-number: QTBUG-86815 Change-Id: I2b5975cc1995518f1995955d9b655ab26e764ad0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-211-1/+1
| | | | | Change-Id: I6da4842b525fb9bdb4e57daa8e694251127b3236 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgShawn Rutledge2020-09-181-1/+1
| | | | | Change-Id: Ia3f0b63335d5aea833d5662c156e474d7338c141 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-171-1/+1
| | | | | Change-Id: I35e079015678a2ce9b32545aebc0f45e2e4eb73e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Port from devicePixelRatioF() to devicePixelRatio()Morten Johan Sørvig2020-09-141-1/+1
| | | | | Change-Id: I25e779c7a668cf9f2fb2b2c56c5d8bccba138153 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
* Mark tst_qicon_svg test as low-DPITor Arne Vestbø2020-09-142-1/+2
| | | | | Change-Id: Ifb957ef40b5754ff3cd293c0537d5ba61ddaac3d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Update dependencies on 'dev' in qt/qtsvgLars Knoll2020-09-131-1/+1
| | | | | Change-Id: I6ac081d90649d4db47571cfce13e4e1a219f3059 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Update dependencies on 'dev' in qt/qtsvgTor Arne Vestbø2020-09-121-1/+1
| | | | | Change-Id: Id83e68036a4e90aef05eca099705794fbd385bf5 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Work around uninitialized variable in QRadialGradientLars Knoll2020-09-122-3/+3
| | | | | | | | Specify the focal radius explicitly to avoid an uninitialized variable in QGradient. Change-Id: I40e44579e2364862a8bc23ef54a9e858c4ba837a Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-111-1/+1
| | | | | Change-Id: Ia80e833f3520bb5faaaf4d65e7598c721097f361 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-111-1/+1
| | | | | Change-Id: I9991e6a7b5e3d97e708532a544bfd23edfa231eb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgLars Knoll2020-09-100-0/+0
| | | | | Change-Id: I81fce2e3cc02ddfba7fa6dc4778d7a5b8f28cdd9 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-101-1/+1
| | | | | Change-Id: I720313d01ef1591e80b6a13a014c4f37c98ad9d9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Change classification of XSVG LicenseKai Koehne2020-09-071-2/+3
| | | | | | | | | | | | [ChangeLog][Third-Party Code] XSVG license was re-classified to HPND-sell-variant, "Historical Permission Notice and Disclaimer - sell variant" https://spdx.org/licenses/HPND-sell-variant.html Pick-to: 5.15 Pick-to: 5.12 Change-Id: Icff6d7f072f0d4b64bd1c5ce703c8c007184ad8a Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-09-031-1/+1
| | | | | Change-Id: Ib5d2661711d412c0073d682a577d3e84c9610c08 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependenciesJarek Kobus2020-09-021-1/+1
| | | | | Change-Id: Ice0c43ab9d7ab7c066bc0fed55e46e61620ac049 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Doc: Fix linking to Qt Designer ManualTopi Reinio2020-09-021-1/+1
| | | | | | Pick-to: 5.15 Change-Id: I9e431a046edb55f060f25ed9fa8aab176647edf4 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Add changes file for Qt 5.15.1Antti Kokko2020-09-011-0/+31
| | | | | | | Change-Id: I9319edddd80c420c4de8b3e4ccb83d0e26307970 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 6b444e832d31ce9a9497ca8e6aff0520f1d888ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on 'dev' in qt/qtsvgQt Submodule Update Bot2020-08-281-1/+1
| | | | | Change-Id: I63544156e86fed8463fda6e8dbf7035b3c30a11e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Use OpenType font weightsJonas Karlsson2020-08-284-51/+14
| | | | | | Task-number: QTBUG-42248 Change-Id: If3984fa22b89a65fd126d42b3a2320d5ab16c94b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Update dependencies on 'dev' in qt/qtsvgFabian Kosmale2020-08-281-1/+1
| | | | | Change-Id: Iebb86f124638547b8e6f5ea92a03fd8883d7027b Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Avoid recursion when inflating compressed svgsEirik Aavitsland2020-08-281-10/+14
| | | | | | | | | | | Avoid the possibility of recursion loop for corrupt compressed files, and generally simplify the code, particularly the handling of the QT_NO_COMPRESS flag. Pick-to: 5.15 5.12 Change-Id: Ic21a4814a45c4303cc366152be65ae54fa973461 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Implement basic format check also for compressed svgsEirik Aavitsland2020-08-271-6/+19
| | | | | | | | | | | | | | | | For uncompressed files, QSvgIOhandler::canRead() will reject any file that does not start out with a svg or xml tag. That rudimentary check was never done for compressed files (svgz). Implement the check during the decompressing itself, so that we can fail early and not waste time and memory decompressing potentially huge files that are anyway not valid svgs. Fixes: oss-fuzz-24611 Pick-to: 5.15 5.12 Change-Id: I154efd8adafe7f09307e8b28a66b536539b1e4bd Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Don't return partially inflated QByteArrayRobert Loehning2020-08-261-1/+1
| | | | | | | | | | We're already stopping the extraction because we're running out of memory. It's no use to return this provisional result. Pick-to: 5.12 5.15 Task-number: oss-fuzz-24611 Change-Id: Iea5a65a0f30b7a03c5405017c21cd9495a7c2971 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Initialize QSvgHandler with QBuffer instead of QByteArrayRobert Loehning2020-08-241-1/+4
| | | | | | | | | Reduces memory consumption significantly for huge files. Fixes: oss-fuzz-24347 Pick-to: 5.15 Change-Id: Iebf58d5f73030336d219ad770e1d1d2798c10067 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>