Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar d9f4daaff9 Bug 700773. qcms: cleanup up some integer types. r=bgirard
This fixes a couple of warnings in clang and makes things more consistent.

--HG--
extra : rebase_source : feac84090f270461a73de955902bc016b5835616
2011-11-08 15:43:33 -05:00
Yati Sagade 4426ead531 Bug 550969 - Fix white_point_from_temp to handle out of range input. r=jmuizelaar 2011-10-14 14:58:34 -04:00
Benoit Girard e6e07e47b0 Bug 674230 - Merge from qcms github branch v4; r=jmuizelaar 2011-07-27 10:11:19 -04:00
Jeff Muizelaar 1eac9663aa Bug 605179. qcms: revert build warning fixes. r=ehsan
0ec22e77aefc fixed some build warnings that no longer happen because pedantic is disabled.
2011-05-10 11:55:39 -04:00
Makoto Kato a63db003fb Bug 613440. Make loading ICM profiles from non-ASCII paths work. r=jmuizelaar 2011-03-30 13:40:47 -04:00
Jeff Muizelaar 76b8dd5301 Bug 506207 - Check the return value of fread to make sure the readed data is valid; r,a=joe 2011-02-28 13:01:05 -08:00
Ms2ger 78236f0f98 Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Daniel Holbert d2a1c857c0 Bug 561787: Add missing #include to iccread.c, to fix compile warnings about declarations of memcpy. r=roc 2010-04-28 23:13:13 -07:00
Michael Wu e7503e900c Bug 556405 - Support building qcms on Android, r=jrmuizel 2010-04-05 17:38:43 -07:00
Jeff Muizelaar 0d8421521c Bug 550188. qcms: remove an empty loop that annoyed coverity. r=bgirard 2010-03-04 12:13:13 -05:00
Jeff Muizelaar 0d2d8d41c8 Bug 488800. qcms: accept ICCv4 profiles. r=bobbyholley
ICCv4 profiles are a superset of ICCv2 so it shouldn't hurt us to accept them and
just treat them the same way we do ICCv2 profiles.
2009-10-02 17:57:25 -04:00
Vladimir Vukicevic d4133284fb Bug 504766. qcms: Fix unaligned reads in qcms. r=jrmuizel
Offsets are not guaranteed to be aligned, so don't assume that they are.
memcpy instead of just casting and dereferencing.
2009-09-08 11:36:28 -04:00
timeless@mozdev.org aa0a779122 Bug 491195 fix warnings in qcms
mostly comparisons between unsigned and signed
also an incomplete initializer
and a warning about using C++ style variables
r=jrmuizel
2009-07-22 17:31:03 -05:00
Jeff Muizelaar a5cefc0393 Bug 504888. qcms: Avoid integer overflow when checking buffer bounds. r=bobbyholley
Found by Chris Evans
2009-07-21 23:32:27 -04:00
Jeff Muizelaar 5f01b80d83 Bug 498245. Check that the profile is an RGB profile before checking if it's bogus. r=bholley
This avoids unitialized reads on non-RGB profiles.
2009-07-02 11:34:08 -04:00
Jeff Muizelaar 75e4ff4fd2 Bug 498245. Profiles with negative colorant tristiumlus values are bogus. r=bholley
Make sure we reject these profiles.
2009-07-02 11:34:06 -04:00
Jeff Muizelaar f9b6997806 Bug 497363. qcms: Fix a memory leak when fread() fails. r=joedrew
Fixes a possible leak in qcms_profile_from_file() when fread()
can't read the entire profile.
2009-06-12 14:38:34 -04:00
Jeff Muizelaar da6dd3cda6 Color profile reading is broken on windows. b=492962 r=joe
The fix is to properly fopen() with "rb" instead of just "r", so that windows knows to treat it as a binary
2009-05-15 18:07:34 -04:00
Jeff Muizelaar 90fcc20f84 Bug 488747 - Fix endian handling in qcms. r=joe 2009-04-21 22:22:29 -04:00
Jeff Muizelaar dcd15d3bce Bug 489133 - Handle bad cHRM chunks in PNGs. r=joe 2009-04-21 22:21:48 -04:00
Ginn Chen 334cd17929 Bug 487765 - Fix qcms build problems on Solaris. r=jrmuizel 2009-04-14 11:25:31 -04:00
Jeff Muizelaar af28265c3e Bug 487566 - OS/2 problems to build qcms; r=mozilla@Weilbacher.org 2009-04-11 09:53:40 +02:00
Jeff Muizelaar 52c97edf1e Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Joe Drew db7246feb6 Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar e823d73623 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00