Commit Graph

596 Commits

Author SHA1 Message Date
baf894ba19 Move to tier2
6934d54417 added an optional dependency
on karchive. This also means that it doesn't merely depend on Qt and a
small number of third-party libs anymore and needs to moved to tier 2.

REVIEW: 127015
2016-02-08 21:41:20 +01:00
5168d097b5 Upgrade ECM and KF5 version requirements for 5.19.0 release. v5.19.0-rc1 2016-02-06 09:37:42 +00:00
6934d54417 Add kra and ora imageio plugins (read-only)
kra is the native format for Krita and ora the interchange format
for krita, gimp and mypaint (it's also mypaint's native format).
Both formats are simply zip containers with an embedded png.

REVIEW:126675
2016-01-31 15:01:32 +01:00
5d7ef7c38e fix loading of RLE compressed PSD files
decodeRLEData() expects a quint16 as length, but the PSD loader calls it
 with a quint32.
We do need quint32 for PSD, otherwise it would overflow for images
bigger than 256x256 pixels (it's the pixel count there, i.e. width x
 height).

BUG: 354413
FIXED-IN: 5.19.0
REVIEW: 126684
2016-01-10 13:24:35 +01:00
a68bfe27ff Upgrade ECM and KF5 version requirements for 5.18.0 release. v5.18.0-rc1 2016-01-01 19:58:09 +00:00
9304510ee3 Upgrade ECM and KF5 version requirements for 5.17.0 release. v5.17.0-rc1 2015-12-06 14:06:19 +00:00
cc219211bb Upgrade ECM and KF5 version requirements for 5.16.0 release. v5.16.0-rc1 2015-11-08 11:08:43 +00:00
f2adcb81d1 Recognize image/vnd.adobe.photoshop instead of image/x-psd
REVIEW: 125790
2015-11-07 13:27:42 +01:00
814c7a2b30 Partially revert d7f457a to prevent crash on application exit
The change to QLatin1String to QStringLiteral had a very nasty
unintended side effect, causing many (but not all) applications to
crash on exit.

Laurent, please be wary with blanket changes on low level code as
they might break things in unexpected ways.

CCMAIL: montel@kde.org
CCMAIL: tittiatcoke@gmail.com
2015-11-04 23:51:53 +01:00
d7f457a124 Use QStringLiteral 2015-11-02 21:57:43 +01:00
69c4a4b84a Upgrade ECM and KF5 version requirements for 5.15.0 release. v5.15.0-rc1 2015-10-03 10:22:35 +00:00
e3473a53cf Upgrade ECM and KF5 version requirements for 5.14.0 release. v5.14.0-rc1 2015-09-04 20:13:45 +00:00
4a54da668a eps: fix includes related to Qt Caterogized Logging
Testing Done:
Build on OS X 10.8

Reviewed at https://git.reviewboard.kde.org/r/125025/
2015-09-03 18:15:54 +02:00
e5fce91de6 Remove DDS and JPEG-2000 plugins
They were already disabled when building with Qt >= 5.3 in commit
3d45b270ea because Qt has better plugins
for those image formats. Now that we depend on Qt 5.3 we can remove
them.

REVIEW: 124636
2015-08-06 00:57:14 +02:00
c7a04b0ed6 less verbose categorized logging, move to ecm module later v5.13.0-rc1 2015-08-02 13:01:54 +02:00
feddd046d7 Upgrade Qt version requirement to 5.3 2015-08-01 14:41:18 +02:00
5800e2f011 Upgrade ECM and KF5 version requirements for 5.13.0 release. 2015-08-01 12:14:00 +00:00
df707db404 Upgrade ECM and KF5 version requirements for 5.12.0 release. v5.12.0-rc1 2015-07-04 20:36:35 +00:00
e1bcc3b033 Upgrade ECM and KF5 version requirements for 5.11.0 release. v5.11.0-rc1 2015-06-06 09:28:19 +00:00
8c8db0fcd2 Add verbose message for when ECM is not found. 2015-05-13 20:41:18 -06:00
52c7839741 Initialize variable to silence warning [-Wsometimes-uninitialized]
It's uninitialized if the else {} is hit.
v5.10.0-rc1
2015-05-02 23:32:24 +01:00
3dadfa564d Upgrade ECM and KF5 version requirements for 5.10.0 release. 2015-05-01 15:17:27 +00:00
0414b32297 Upgrade ECM and KF5 version requirements for 5.9.0 release. v5.9.0-rc1 2015-04-04 11:48:54 +00:00
55af097749 Don't warn the user/developer about something he can't fix
image formats are loaded via qimage/qimagereader and friends, the user/developer does not choose which ones will be used so giving him a warning about sequential devices not being supported is not going to help anyone, only spam their shell/logs.

REVIEW: 123156
Acked by David Edmundson
2015-03-29 23:21:17 +02:00
b7910e169e Fix build with Qt 5.5 (missing QDataStream include) v5.8.0-rc1 2015-02-27 19:03:29 +01:00
c27ba814fd Upgrade ECM and KF5 version requirements for 5.8.0 release. 2015-02-25 14:20:14 +00:00
873746d04b Build fix for OS/X.
CCMAIL: mk-lists@email.de
2015-02-21 11:41:58 +00:00
47e8043d45 Make PSD image reader endianess-agnostic.
By using the same strategy as the SoftImage PIC handler (and sharing
some code with it), we should avoid reading the image data incorrectly
on big-endian architectures.

REVIEW: 122650
BUG: 337918
2015-02-20 23:03:10 +00:00
ac2b63046f Use Q_DECL_OVERRIDE where possible
REVIEW: 122542
2015-02-13 13:31:27 +01:00
6b72930cb2 Upgrade ECM and KF5 version requirements for 5.7.0 release. v5.7.0-rc1 2015-01-23 20:40:27 +00:00
4cdcf3a98c Add missing QDataStream include
Fixes build with Qt 5.5
2015-01-17 03:40:59 +01:00
88518c5862 Update installation variables. 2015-01-10 17:46:30 +00:00
b870e9cd47 Upgrade ECM and KF5 version requirements for 5.6.0 release. v5.6.0-rc1 2014-12-31 14:23:36 +00:00
c21fc5982b Upgrade ECM and KF5 version requirements for 5.5.0 release. v5.5.0-rc1 2014-12-02 16:47:14 +00:00
8ffd5bb2f7 Upgrade ECM and KF5 version requirements for 5.4.0 release. v5.4.0-rc1 2014-10-31 20:17:43 +00:00
5ae66b99d9 Upgrade ECM and KF5 version requirements for 5.3.0 release. v5.3.0-rc1 2014-10-03 17:55:41 +00:00
f4bea644eb Upgrade ECM and KF5 version requirements for 5.2.0 release. v5.2.0-rc1 2014-09-07 23:25:44 +00:00
415850f3d3 Switch the brief descriptions around
Put the shorter description in metainfo.yaml, and the longer one in
README.md.
2014-08-15 18:41:16 +01:00
af19f49711 Add metadata about the QMake and CMake packages installed by this framework and remove Links from README.md 2014-08-13 10:04:37 +02:00
3d45b270ea Disable the DDS and JPEG-2000 plugins when Qt version is 5.3 or later
QtImageFormats 5.3 comes with DDS and JPEG-2000 plugins that support
more options and are generally better than our plugins. The only
advantage our plugins offer is that the Qt DDS plugin does not work on
sequential devices, while ours does. This is outweighed by other
improvements, though, such as supporting more variants.

REVIEW: 119590
2014-08-04 22:50:37 +01:00
c9ca1f1862 Rename headers to end with _p.h
Frameworks have a convention of naming uninstalled headers in src/ with
a _p at the end of the name, to make it clear they are not part of the
API. None of the headers in KImageFormats are installed, so it is not
really necessary to follow this convention, but we follow it anyway for
the benefit of both humans and tools (like kapidox).
2014-08-03 18:08:49 +01:00
a96a255f71 Upgrade ECM and KF5 version requirements for 5.1.0 release. v5.1.0-rc1 2014-08-02 08:19:18 +00:00
5b42b3b787 Upgrade ECM version requirement to 1.0.0 after all. v5.0.0-rc1 2014-07-01 20:16:27 +02:00
f98e508da4 Upgrade ECM and KF5 version requirements. 2014-07-01 15:32:05 +02:00
a92540f00d Upgrade ECM and KF5 version requirements. v4.100.0-rc2 v4.100.0-rc1 2014-06-01 12:40:39 +02:00
2ec0d5abc6 Fix a compiler warning about signed/unsigned comparisons
The "+ 1" was causing an unsigned value to be cast to a signed value,
which was then compared with an unsigned value, causing the warning.
Making the constant unsigned fixes this.
2014-05-30 16:47:19 +01:00
cca4c545a4 Hide documented internal classes from Doxygen 2014-05-30 16:40:05 +01:00
87b545f9ed Make sure Doxygen does not interpret license headers as dox
The extra *s were confusing it.
2014-05-30 16:38:45 +01:00
1132abbf67 Update metainfo.yaml's short description and platform notes 2014-05-16 17:07:10 +01:00
2a8251c493 Upgrade ECM and KF5 version requirements. v4.99.0-rc3 v4.99.0-rc1 2014-05-04 20:48:28 +02:00