Commit Graph

675 Commits

Author SHA1 Message Date
David Faure
18ddd0920f Upgrade ECM version requirement; fix KF5 version. 2014-02-05 00:02:37 +01:00
Alex Merry
024db1f42b Move license information to its proper locations
The BSD license goes in the relevant CMake file, and
COPYING-CMAKE-SCRIPTS is removed.  README.md gets a License section
describing the overall license of the framework, as well as a note about
the CMake scripts.

As part of this commit, I release the existing autotest images (which I
created myself) as public domain (or license them under CC0 where public
domain does not apply), ensuring they are compatible with whatever
license the package is distributed under.

REVIEW: 115423
2014-02-04 12:30:22 +00:00
Alex Merry
14b4932392 Disable EPS dumb read tests
Possibly unsurprisingly, the dark art of using GhostScript to render a
subset of PostScript is not entirely stable across versions of that
tool.  Additionally, we cannot even guarantee that GhostScript will be
available machines that run the tests.
2014-02-03 18:35:15 +00:00
Alex Richardson
63705e373e Use #pragma pack instead of __attribute__((packed))
This is available on all supported compilers, the attribute does not exist
for MSVC

REVIEW: 115345
2014-02-03 18:24:01 +01:00
Alex Richardson
a533bcd418 Use q{To,From}BigEndian instead of hton* and ntoh*
These functions don't seem to be available as inline functions on win32

REVIEW: 115345
2014-02-03 18:23:37 +01:00
Alex Merry
bfea0e0e7c Do not do the stupid write test for EPS
EPS writing can be done either by pdftops from Poppler, or by
GhostScript.  These two tools produce very different output, so the
simple write test will always fail on some systems (currently ones
without poppler).
2014-02-03 15:38:46 +00:00
Alex Merry
f0f6d14367 Add simple autotests
Two main tests: read the file and compare to a given image (loaded from
png), and write a file out and compare to a previously-written image.

The write test in particular is kind of fragile, but it should help
catch some errors where a code change was not intended to affect the
output of the plugin.

Tests are included for all the writable formats, as well as every
readable format that GIMP can write to (and so I could easily get an
example of).

REVIEW: 115430
2014-02-03 15:03:29 +00:00
Alex Merry
32f7d48b3c Fix license header of imageconverter.cpp 2014-02-01 19:06:13 +00:00
Alex Merry
e26bd0891d CMakeLists.txt tidy-ups
Indentation fixes and remove obsolete conditional from kdelibs
2014-02-01 17:24:18 +00:00
Alex Merry
b1de3377d0 README.md syntax fixes
Use a common list style (-, not *) and escape the # (or else Doxygen
complains).
2014-02-01 17:22:36 +00:00
Alex Merry
d5c589dae3 Use new kde_target_enable_exceptions() function from ECM 2014-01-27 12:42:26 +00:00
Alex Merry
b2083df231 Add an imported target to FindOpenEXR.cmake
This simplifies using the find module.

REVIEW: 115123
2014-01-27 12:26:26 +00:00
Alex Merry
0ee3ffb368 Clean up the CMake files (and a couple of other bits)
src/imageformats/CMakeLists.txt is now much clearer and more consistent.

Also, removed an unnecessary/unimplemented method from exr.cpp.

REVIEW: 115120
2014-01-27 11:43:17 +00:00
Alex Merry
cd4a2de0c1 Remove unnecessary Mainpage.dox 2014-01-20 22:16:16 +00:00
Alex Merry
b71ede5c0f The file format is JPEG-2000; JasPer is the library 2014-01-16 21:34:13 +00:00
Alex Merry
aeff5cca5a Improve README.md
Organise and correct the format list.
2014-01-16 21:28:06 +00:00
Cornelius Schumacher
7177dba8db Update REAMDE 2014-01-12 20:45:38 +01:00
Alex Merry
4998e85b93 Add myself to the standard list of people to review changes 2014-01-11 19:07:23 +00:00
Jonathan Riddell
4384f8f5d9 add missing licence file 2014-01-09 00:31:43 +00:00
Alex Merry
7be60a7bd0 Fill out README.md file
Also delete the old README file, as README.md now contains the
information from it.
2013-12-22 16:12:02 +00:00
Aurélien Gâteau
8019c67d76 Add README.md and yaml files 2013-12-20 20:11:24 +01:00
Alex Merry
f5913bcf0d Add .reviewboardrc 2013-12-18 14:09:18 +00:00
David Faure
02b5e97197 Code reformatted using kde-dev-scripts/astyle-kdelibs.
Use git blame -w 47df948 to show authorship as it was before this commit.
2013-12-18 09:54:11 +01:00
Jenkins CI
47df9483fd Move kimageformats code to the root directory. 2013-12-18 00:45:18 +00:00
Jenkins CI
29f9dc7e4f Initial import from the monolithic kdelibs.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
techbase wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://community.kde.org/Frameworks/GitOldHistory

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, kdelibs frameworks branch, at commit
162066dbbecde401a7347a1cff4fe72a9c919f58
2013-12-18 00:45:18 +00:00