1. 16 Mar, 2017 - 1 commit
    • Eirik Aavitsland's avatar
      Extend support for tiled tiff files to all color formats · c7a6a451
      Eirik Aavitsland authored
      
      This commit extends the recently added support for tiled tiff images
      of color index format to also cover grayscale and mono images. RGB
      images were already covered, since the libtiff API used for those
      handles tiled images transparently.
      
      This commit also simplifies the tiff read() function by sharing
      common code among the different formats.
      
      [ChangeLog][TIFF] Extend support for tiled tiff files to all color formats
      
      Change-Id: I13f94bbca65dd6a35384a415906034e245ad8b79
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      3 tags
      c7a6a451
  2. 15 Mar, 2017 - 2 commits
  3. 13 Mar, 2017 - 1 commit
    • Liang Qi's avatar
      Bundled libwebp updated to version 0.6.0 · b7ec9e78
      Liang Qi authored
      
      This commit imports libwebp 0.6.0, including AUTHORS, COPYING, ChangeLog,
      NEWS, PATENTS, README and src directories. In src, only includes header
      and source files.
      
      Upstream changes since 0.5.1 have been merged in.
      Also updated version in qt_attribution.json.
      
      Conflicts:
      	src/3rdparty/libwebp.pri
      	src/3rdparty/libwebp/qt_attribution.json
      	src/3rdparty/libwebp/src/webp/config.h
      
      Change-Id: I001aa7a3fabf0130b54f9005c23aa822bc1d0ec1
      Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
      b7ec9e78
  4. 06 Mar, 2017 - 2 commits
  5. 26 Jan, 2017 - 1 commit
  6. 25 Jan, 2017 - 2 commits
  7. 12 Jan, 2017 - 2 commits
  8. 05 Jan, 2017 - 2 commits
    • Marc Mutz's avatar
      QWbmpHandler: fix integer overflow · 0870e670
      Marc Mutz authored
      
      Both 'hdr.height' and 'hdr.width' are quint32s. Multiplying them still gives
      a quint32, but the lhs expected a qint64.
      
      Fix by casting one of the operands to qint64.
      
      Coverity-Id: 22179
      Change-Id: If7385fb42bf994d87ac4e603fa85be4a30ad6d5c
      Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
      0870e670
    • Marc Mutz's avatar
      QTgaFile: fix Coverity warning re:mixing enum types · 33b9fc4e
      Marc Mutz authored
      
      Coverity complained that the 'bytes' variable was first compared to
      a QTgaFile::HeaderOffset, then, later, to a QTgaFile::FooterOffset.
      
      This is of course a false positive, but one that's trivial to fix,
      by not using a variable in the first place.
      
      Adjust to Qt coding standard as a drive-by.
      
      Coverity-Id: 22048
      Change-Id: If1a45aa5b0c8ea23cab2cefeccb2f1dfe5f03375
      Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
      33b9fc4e
  9. 03 Jan, 2017 - 1 commit
  10. 13 Dec, 2016 - 3 commits
    • Liang Qi's avatar
      Bundled libtiff updated to version 4.0.7 · cd2de115
      Liang Qi authored
      This commit imports libtiff 4.0.7, including COPYRIGHT, ChangeLog, README,
      README.vms, RELEASE-DATE, TODO, VERSION and libtiff, port directories.
      In libtiff, only includes SConstruct, libtiff.def, libtiff.map,
      libtiffxx.map, tif_config.h-vms, header and source files.
      In port, only includes header and source files.
      
      Upstream changes since 4.0.6 have been merged in, includes 701ba023 and
      52dd6b1e
      
      . Also updated version in qt_attribution.json.
      
      Conflicts:
      	src/3rdparty/libtiff/libtiff/tif_win32.c
      	src/3rdparty/libtiff/libtiff/tiffiop.h
      	src/3rdparty/libtiff/port/strtoull.c
      	src/3rdparty/libtiff/qt_attribution.json
      
      Change-Id: I7a7a55676c007fd2b3eeff2b2e3ca481eb5724d9
      Reviewed-by: default avatarLiang Qi <liang.qi@qt.io>
      Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
      2 tags
      cd2de115
    • Liang Qi's avatar
      Bundled libwebp updated to version 0.5.1 · a4125f0c
      Liang Qi authored
      
      This commit imports libwebp 0.5.1, including AUTHORS, COPYING, ChangeLog,
      NEWS, PATENTS, README and src directories. In src, only includes header
      and source files.
      
      Upstream changes since 0.5.0 have been merged in.
      Also updated version in qt_attribution.json.
      
      Conflicts:
      	src/3rdparty/libwebp.pri
      	src/3rdparty/libwebp/qt_attribution.json
      	src/3rdparty/libwebp/src/webp/config.h
      
      Change-Id: I7d0c15400154c3b4ee8ff37665303307c4b84f9f
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
      Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
      a4125f0c
    • Eirik Aavitsland's avatar
      Add changes file for 5.8.0 · 5976c466
      Eirik Aavitsland authored
      
      Change-Id: Iad8edc1ce474907a017d2751650a447280e68aaa
      Reviewed-by: default avatarAntti Kokko <antti.kokko@qt.io>
      5976c466
  11. 12 Dec, 2016 - 1 commit
  12. 05 Dec, 2016 - 3 commits
  13. 26 Nov, 2016 - 1 commit
  14. 24 Nov, 2016 - 1 commit
  15. 23 Nov, 2016 - 1 commit
  16. 08 Nov, 2016 - 3 commits
    • Marc Mutz's avatar
      QTgaFile: fix parsing of TGA16 rgb data · e6deda52
      Marc Mutz authored
      
      The code tries to expand a 16-bit value of the form 0bABBBBBGGGGGRRRRR
      into a 32-bit QRgb, but got the operator precedence wrong:
      
        << has higher precedence than binary &
      
      This made the first operand of the |-chain (BBBBB) unconditionally
      zero.  The second operand had the same precedence problem, but didn't
      decay into a tautological value like the first one did.
      
      Fix by adding another set of parentheses.
      
      The test coverage for this security-relevant piece of code is quite
      obviously insufficient, and should be increased, or else the format be
      dropped.
      
      [ChangeLog][TGA] Fixed reading of TGA-16 formats.
      
      Coverity-Id: 21782
      Change-Id: I7019be8fe22e480c40192e0c1916b1d2bebf71cc
      Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
      Reviewed-by: default avatarGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
      e6deda52
    • Marc Mutz's avatar
      QWebpHandler/QDDSHandler: init all fields · 7e7aa7a6
      Marc Mutz authored
      
      Coverity complained about uninitialised members of m_features in
      QWebpHandler, and m_header and m_header10 in QDDSHandler, so force
      value-initialization, in this case zero-initialization, by explicitly
      adding the fields to the ctor-init-list.
      
      Coverity-Id: 21998
      Coverity-Id: 22032
      Change-Id: Ie45023eda82b7034a0b3e33bab4fb23465cdc7cf
      Reviewed-by: default avatarGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
      7e7aa7a6
    • Giuseppe D'Angelo's avatar
      Disable the DDS image format plugin · 06ee5a2a
      Giuseppe D'Angelo authored
      
      As it stands right now, it's severely bugged and a security minefield (crashes).
      
      It is also pretty useless in combination with QImage: DDS files are supposed to
      carry multiple individual textures, texture arrays, cubemaps; mipmap chains;
      and may use specific texture compression formats. All these features are not
      supported at all by QImage.
      
      [ChangeLog][QtImageFormats] The DDS image plugin has been disabled
      due to lack of maintenance.
      
      Change-Id: I6e53b1b14de316389813ddd3e34a644065937b4a
      Reviewed-by: default avatarEirik Aavitsland <eirik.aavitsland@qt.io>
      06ee5a2a
  17. 02 Nov, 2016 - 1 commit
  18. 27 Oct, 2016 - 1 commit
  19. 16 Oct, 2016 - 1 commit
  20. 06 Oct, 2016 - 1 commit
  21. 19 Sep, 2016 - 1 commit
  22. 17 Sep, 2016 - 1 commit
  23. 29 Aug, 2016 - 1 commit
  24. 19 Aug, 2016 - 2 commits
  25. 17 Aug, 2016 - 1 commit
  26. 02 Aug, 2016 - 2 commits
  27. 01 Aug, 2016 - 1 commit