| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce an enumeration to describe the file type and use
QMimeDatbase to determine the type. This will detect SVG files
also in the case resource aliases without suffixes are used.
As a drive by, do not pass compressed SVG files
to QPixmap when QT_NO_COMPRESS is defined, as this likely
results in garbage.
Task-number: QTBUG-55388
Change-Id: Ib8bafca60e9238412a5c7edf560d487e512b8fd0
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|\
| |
| |
| | |
Change-Id: I8b1872f788a714894a73912700bcd07d72db31bc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Coverity (CIDs 22640, 22316) complained that some members weren't
initialized. Although setters are provided for these members, we have
no guarantee that they're called, so initialize to sensible values.
Chose indefinite repeat (repeat count -1) rather than single-shot.
In the process, discovered each class's m_to was used only in the
constructor (my initial change removed even this use, leading to a
compiler warning, as error, on OSX); so removed from both classes.
Change-Id: Ibb88a6190f2d740f57c67c1d5ee8a7b03129c510
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I55408b98072be007247bca4fa61f1a62ce32e7ca
|
| |\
| | |
| | |
| | | |
Change-Id: I603566cf4d54826b61dc4adcea85bbb94c0c9be6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Examples in binary packages now directly match the install path.
Change-Id: I15cc16953efdfb3e327de82e3f6c412941811853
Task-number: QTBUG-52953
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If icon is not explicitly set, QSvgIconEngine always took Normal Off
icon.
Task-number: QTBUG-53328
Change-Id: I404206b0244d0009f7be1f520c2e84c0b7cd3e71
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix qdoc warnings:
../qtsvg/src/svg/doc/qtsvg.qdocconf:33: warning: Cannot find file or directory: ../../plugins/svg
../qtsvg/src/svg/doc/qtsvg.qdocconf:36: warning: Cannot find file or directory: ../../plugins/svg
Change-Id: I6a085c539bd0244184e5b9a53878fb1e0144bd4c
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
Quiets a warning about an unhandled member.
Change-Id: I20f6b6849176df541fba2e1a75d1d4ee8f2df303
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: Iccc2699ace61727ae07b362442a0b87f9958e4e0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|\ \
| |/
| |
| | |
Change-Id: I690e64f28de8d7a7768213f89858d3c19246fa08
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... or equivalent.
QtBase 5.6 headers already compile that way, so let the other
modules follow suit.
Task-number: QTBUG-45291
Change-Id: I725682ffe00dab94f84b00eed3aa76377bb80519
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
this fixes static builds by ensuring that all dependencies are exported.
Task-number: QTBUG-51071
Change-Id: I20b0d2c018e3adce10629aee3fa055df437df71c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Ia508d1e3f74dd35ac28b104c0cbdacdb6fe16d6b
|
| |\
| | |
| | |
| | | |
Change-Id: I600bace05d6bc88a9f69962698512127d4a4bb4e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is already the case for qtbase and qtwebkit, while here only
hard-coded "zdll.lib" was used on Windows.
Change-Id: I83a86e17ebd0ed6ae4ef47925b3fdaf38984617c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
canRead() would reject a file starting with an xml comment.
canRead() by design accepts anything that looks like the start of an
xml file, and the comment token "<!--" should be an indicator as good
as any of an xml file.
Task-number: QTBUG-49496
Change-Id: Id3c17f6b02344fa6a20bc2a839e345e5cebc14c2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: If4d760f369c34301778a13a68bbd03079a479a80
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I4e901d3337a82cf07a0ac9aa56ed02a400d6905d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The node name list needs to be kept in sync with the QSvgNode::Type enum
otherwise it will match the wrong name for the wrong value after the
missing entry.
Change-Id: Ib13025bc3c5f31ff4f76638d05d1419ad091622b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The examplesinstallpath variable in .qdocconf files defines the path
under QT_INSTALL_EXAMPLES where examples are found.
To match the way examples are packaged in Qt 5.6, prefix the
install path with the repository name.
Task-number: QTBUG-48736
Change-Id: I5767e7e8a91e4da1be162693d33a8d2eafc6144f
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When building without image format plugins we shouldn't even try to
build the svg image format plugin. Otherwise it will fail to load
later. Then icon engine plugin, however, can easily be built even
without image formats. Furthermore, the network example needs bearer
management.
Change-Id: I1380e5b2de7d112283ef0fb65a01a5049412af55
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see
http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
Updated license headers to use new LGPL header instead of LGPL21 one
(in those files which will be under LGPL v3)
Change-Id: I4bbd8b2a35222b925c6e5cef6337e6237d3e1716
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ic6430f00198baec15a51c37c8c8ff01bd7014b8b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ie4d5aac39958b8e1fe946d61679a98fdc21c7b0b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I5bb1c630eff9d484098fcade5da6b1ed3680bc27
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|/ /
| |
| |
| |
| | |
Change-Id: Ic899f7ac59f11d84d76101f8221051a7d94fdd9a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: I2fb05270eb946536c50938f40bc54853acc84e98
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ife2fa97ef8395753523aba96757fac8885a75980
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QTextLayout::additionalFormats setters and getters using QList<FormatRange> have
been deprecated; port to the QVector versions.
Also perform two drive-by optimizations: using resize() instead of push_back()
to append default-constructed elements (saving one or two copy ctor calls).
Change-Id: I8b6d424f9d3ba2eb0f12098f92bb7bee11ab6d76
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
|\ \
| |/
| |
| | |
Change-Id: I5c6805b48d62c913ed6e8e1e0efb20013b34cba6
|
| |
| |
| |
| |
| | |
Change-Id: I3f5af4d3355f790ef17715fc0617c66b78ee78d0
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ib10578aaf1e3be931a19e266d4a18a094b3e4728
|
| |
| |
| |
| |
| |
| |
| |
| | |
QImageWriter::supportedMimeTypes() is missing "image/svg+xml", because
it was missing in svg.json.
Change-Id: Ica006e2a9e921deed5469c58f939b585dbf8c4ea
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
|\ \
| |/
| |
| | |
Change-Id: Idaa606177bbdd5b078d04d5e9916d319bf00b66b
|
| |
| |
| |
| |
| |
| |
| |
| | |
The two macros were replaced with qPremultiply and qUnpremultiply in
Qt 5.3, and this is the last place in Qt the old macros are still used.
Change-Id: Ic1bd1f37a843ffa76e37adfcbbde39fbfbd9ff2a
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
LICENSE.GPLv2
Change-Id: Id7e321e81c3b3af0c17c9d32d25c0bb905974728
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ie5995a71780842c86ce017793f4ed744c930bbbb
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
No need to use a secretly exported symbol.
Change-Id: Iaf262abcd2eefd3953e7ee72e2d4592dc9507d06
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|\ \ |
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I960859c8b76749294939042658b5ded3dfa10993
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the filename or the width/height is not valid then we bail out earlier
instead of trying to create an image based on the information given. This
saves a bit of processing time and also allows for giving more indication
as to where the problem comes from.
Change-Id: I3d11aa57c0cb965159aa9e42e905ef13ba55988f
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-431810
Change-Id: Ie69aecc84d2e6f92041e029144f1dd1f37c4ac24
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
|/ /
| |
| |
| |
| | |
Change-Id: Id2a266b2ec46761769a6bb220cb84dd70fec0817
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: Ie7d37928ebd680c6f1b20045de11abcd5595c73f
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I309781379da78578437ecb83a9b878c69c90f559
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-43462
Change-Id: I9c5092d68b767cafe2c98838e32b205311105452
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I6429aa789e022fedababb8ec6bca144f7ce8721f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QGraphicsItem is not available if QT_NO_GRAPHICSVIEW is defined,
but this was not checked when building QGraphicsSvgItem.
Change-Id: I24b9f784d12a9ce4cbf5a4ffd22690c6441f6118
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cea58f4b77e1639e5671cf424544d4948fb8e9ef introduced a new enum value
that wasn't handled by the switch statement.
Change-Id: I40a44cb7694f9a0f454bfadf014d09c67538daad
Task-number: QTBUG-43197
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
|