- 04 Jan, 2017 - 1 commit
-
-
Lars Schmertmann authored
The viewBox attribute defines the svg internal coordinate system. If no width/height is set, the viewBox size is the right choice for defaultSize. Otherwise the standard prescribes that the specified height/width must be used. The old behavior ignored the width and height attributes, and this caused a lot of problems in qml. If the viewBox was very small the result was a low resolution image. If the viewBox was very large, loading took ages and the result used much more memory than needed. Both situations could be avoided by setting sourceSize. But when using the same image several times, the sourceSize must be set every time to the same value, otherwise the image cache would not work. It is cheaper to have the same high-quality source image in the cache, and scale it down when required. With the new behavior it is possible to control the default image size directly in the svg file at one place while it is still possible to set different sourceSizes if needed. Task-number: QTBUG-44863 Change-Id: I9c2fc7c122a29ebcf288b7cbd12427e081d404d5 Reviewed-by:
André Klitzing <aklitzing@gmail.com> Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
- 12 Dec, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: Iaac1c139f074e4e82267654a2fbfdcf0a3f5e71c
-
- 06 Dec, 2016 - 2 commits
-
-
Alexander Volkov authored
Change-Id: I9c6bc47803b5decb47787ad69f42259e85470f57 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
Alexander Volkov authored
Change-Id: I3292c8e35bdedeb42d9ca3b163587ead83236bf0 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
- 26 Nov, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: I43247261a4dc8badc4ad4f4d2137cdbd499f29db
-
- 24 Nov, 2016 - 2 commits
-
-
Liang Qi authored
Change-Id: Ibcca419da389fc7538ee050de7c59e8b400e1978
-
Friedemann Kleint authored
Fix warning: qtsvg/src/plugins/plugins.pro:3: Cannot find feature qfeatures Change-Id: I0484aa2b1b217f1e22dc91a5d346bfeade175ab4 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
- 11 Nov, 2016 - 2 commits
-
-
Alexander Volkov authored
Remove QIconEnginePlugin::keys() and QImageIOPlugin::keys(): they are not overriders since Qt 5.0. Change-Id: I9127b5b72c9c37b450c6f0d0095e47b8d5454322 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-
Alexander Volkov authored
Change-Id: I423b8531434d221880410cb3b40f10e6061769ff Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
hjk <hjk@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
- 10 Nov, 2016 - 3 commits
-
-
Alexander Volkov authored
Change-Id: I05e7e2984c70173408491deeeb2df92a578f00f9 Reviewed-by:
hjk <hjk@qt.io>
-
Alexander Volkov authored
Change-Id: Ib15aa96c2ed84cf3ce9793385476f9fb3cacec8c Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
Alexander Volkov authored
Change-Id: I3cf5d9b6d6212128adab4682de33b192672f7c1f Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
- 06 Nov, 2016 - 1 commit
-
-
Oswald Buddenhagen authored
the CI obtains them from the qt5 super repo nowadays. Change-Id: Ib4d20a382925262109c5d5f63372d767af188aba Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@qt.io>
-
- 27 Oct, 2016 - 1 commit
-
-
Alexander Volkov authored
The imageformats plugin was trying to pass them off to QSvgRenderer, which can't handle them when QT_NO_COMPRESS is defined. Change-Id: I92241370d8fd4ed2328fb13a01306fa8a7e5ef6e Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Eirik Aavitsland <eirik.aavitsland@qt.io>
-
- 21 Sep, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: Idddd7f4219934dfe950a9e85b1f647ed11817495
-
- 19 Sep, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: Ib061ded7b4a5e18a1e4d277a840c1916aa51c79f
-
- 17 Sep, 2016 - 1 commit
-
- 13 Sep, 2016 - 3 commits
-
-
Marc Mutz authored
Change-Id: I994bcc0a4d0587dbb1f0566a7a6b3f110f1175aa Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Marc Mutz authored
In BearerCloud::timerEvent(), bite the bullet and use a std::vector instead of a QList to avoid repeated qAsConst() applications. In BearerCloud::configurationRemoved() and configurationChanged(), instead of iterating over QMultiMap::uniqueKeys() and QMap::remove(), iterate directly over the QMultiMap and remove the desired elements. Cache a QString. In BearerCloud::updateConfigurations(), instead of using while !isEmpty() takeFirst() on a local copy of a QList, simply iterate over the QList (now made const) using C++11 ranged for. In tst_QSvgGenerator, replace a QList of statically-known size with a C array. Change-Id: Ic0dd1c67d0819fe6167f2bce248f9b910be65803 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io>
-
Milla Pohjanheimo authored
Added the generated data files for the binary compatibility tests for QtSvg for Qt 5.7. Change-Id: If0ab582be115808446b85815cbac5ed55039600e Reviewed-by:
Sergio Ahumada <sahumada@texla.cl> Reviewed-by:
Tony Sarajärvi <tony.sarajarvi@qt.io>
-
- 09 Sep, 2016 - 1 commit
-
-
Marc Mutz authored
Found by UBsan: qsvgiconengine.cpp:64:84: runtime error: left shift of 537133056 by 4 places cannot be represented in type 'int' Fix by casting to qint64 at the start of the shift-or chain. The total cumulative shift is by 28 places, so 64 bits should be enough to not overflow anymore. Change-Id: Ia37bc98c5af67a4de10fb9807addd369110f36d2 Reviewed-by:
Edward Welbourne <edward.welbourne@qt.io> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 05 Sep, 2016 - 1 commit
-
-
Milla Pohjanheimo authored
Added binary compatibility data files for tst_bic test Change-Id: I8e7191e157085d94a2f6ea1bf9643cdd04099e3c Reviewed-by:
Sergio Ahumada <sahumada@texla.cl> Reviewed-by:
Tony Sarajärvi <tony.sarajarvi@qt.io>
-
- 30 Aug, 2016 - 1 commit
-
-
Friedemann Kleint authored
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>
-
- 29 Aug, 2016 - 1 commit
-
-
Oswald Buddenhagen authored
Change-Id: Ib1664eeb512bd00c354b999c20415dd68aee87fa
-
- 19 Aug, 2016 - 1 commit
-
-
Lars Knoll authored
Change-Id: Ic345acc4e7cf08a0fd94c9e3a1fd2279cdd8a93e Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 18 Aug, 2016 - 1 commit
-
-
Jake Petroules authored
This example requires QProcess support which UIKit platforms don't have. Change-Id: I97a66958d33717df84d9e481732d670d539656de Reviewed-by:
Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@qt.io>
-
- 02 Aug, 2016 - 1 commit
-
-
Liang Qi authored
Conflicts: .qmake.conf tests/auto/qicon_svg/qicon_svg.pro Change-Id: I062ecbb9b092286c3ca7ec5deac3a0767329ba3f
-
- 01 Aug, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: I8b1872f788a714894a73912700bcd07d72db31bc
-
- 28 Jul, 2016 - 1 commit
-
-
Oswald Buddenhagen authored
Change-Id: I390c026e099233e2fa011ec247dacdd4a485b452
-
- 12 Jul, 2016 - 1 commit
-
-
Dmitry Shachnev authored
When the build is local (i.e. not system-wide installed), libQt5Svg.so.5 needs to be on LD_LIBRARY_PATH, otherwise the plugin will not be able to load it. LD_LIBRARY_PATH is set by target_wrapper.sh, generated by qmake, which will add local lib directory there only if QT contains svg. This is a workaround for the dependency resolution of plugins and modules not being properly integrated. Change-Id: I68c3bc850367af62e7ccaa766fa83453fa0d8621 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 17 Jun, 2016 - 1 commit
-
-
Sze Howe Koh authored
See http://comments.gmane.org/gmane.comp.lib.qt.devel/25771 Change-Id: I9f35d9b9c1ca8b6e5d41ef97df6974842ef0d767 Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
- 16 Jun, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: I4742d08412c8d351fb8cb5ea1365bf0fc3fe7cd5
-
- 08 Jun, 2016 - 1 commit
-
-
Kai Koehne authored
Change-Id: I0ed18f6dde71827aee68dc24fe3b1d24d794b4e2 Task-number: QTBUG-53913 Reviewed-by:
Sami Makkonen <sami.makkonen@qt.io> Reviewed-by:
Jani Heikkinen <jani.heikkinen@qt.io>
-
- 31 May, 2016 - 1 commit
-
-
Edward Welbourne authored
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>
-
- 24 May, 2016 - 2 commits
-
-
Oswald Buddenhagen authored
it's done centrally now. Change-Id: I457d86a8815aa7ab7275515c692c457ac6f4177e Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Liang Qi authored
Change-Id: I02f07888db8531778c1e28aa3da6d2166c7b8c8a
-
- 19 May, 2016 - 3 commits
-
-
Liang Qi authored
Conflicts: .qmake.conf Change-Id: I55408b98072be007247bca4fa61f1a62ce32e7ca
-
Liang Qi authored
Change-Id: I603566cf4d54826b61dc4adcea85bbb94c0c9be6
-
Oswald Buddenhagen authored
Change-Id: Ia81f26370c94b6cbcf6a4ca284e2eed82f7cb475
-
- 12 May, 2016 - 1 commit
-
-
Joni Poikelin authored
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>
-