Commit Graph

52 Commits

Author SHA1 Message Date
Michael Stefaniuc be90236fab mscms: Remove always false if subexpression (PVS-Studio). 2014-12-22 13:33:25 +01:00
Marcus Meissner 7ce613c3c2 mscms: Removed duplicate return ret (Coverity). 2014-06-17 09:06:52 +02:00
Hans Leidekker 45191c542c mscms: Get rid of the MSCMS_ prefix. 2013-07-29 14:27:55 +02:00
Hans Leidekker d40c91262b mscms: Port to liblcms2. 2013-07-29 14:27:52 +02:00
Nikolay Sivov 3f3404d248 mscms: Free memory and handle on error path (Coverity). 2013-04-01 12:32:37 +02:00
André Hentschel f796f967e2 mscms: Remove unneeded shadow variable. 2012-04-18 17:12:16 +02:00
Hans Leidekker 0cf1bdf96e mscms: Use the return values of GetStandardColorSpaceProfileW and GetColorDirectoryW (clang). 2012-02-05 09:37:36 -06:00
Hans Leidekker 7200072622 mscms: Fix OpenColorProfile to handle relative file names. 2011-09-20 16:21:41 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Andrew Talbot 322f303767 mscms: Move a misplaced brace. 2011-08-01 11:16:41 +02:00
Hans Leidekker b6ffca256e mscms: Use correct standard color space constants in GetStandardColorSpaceProfileW. 2009-09-02 14:40:48 +02:00
Michael Stefaniuc c36ce23795 mscms: Remove superfluous pointer casts. 2009-01-19 12:46:42 +01:00
Hans Leidekker 3e30e29847 mscms: Rewrite handle management to be thread-safe. Allocate handles dynamically. 2008-03-25 12:48:22 +01:00
Alexandre Julliard 533380817b mscms: Fix a couple of compiler warnings when lcms is missing. 2008-03-07 12:26:36 +01:00
Hans Leidekker 8349a9f52e mscms: Create a copy of memory based profiles. 2008-02-29 20:07:13 +01:00
Hans Leidekker d284fd972f mscms: Avoid closing a random file when destroying a memory based profile. 2008-02-28 13:03:31 +01:00
Hans Leidekker d91f3a93ae mscms: Implement TranslateColors and improve the other transformation functions. 2008-02-25 20:41:44 +01:00
Hans Leidekker fb0e62eef0 mscms: Assume read sharing when no sharing flags are specified in OpenColorProfile. 2008-02-25 11:54:50 +01:00
Hans Leidekker 88ba6a6658 mscms: Implement AssociateColorProfileWithDevice and DisassociateColorProfileFromDevice. 2008-02-25 11:54:35 +01:00
Hans Leidekker f6d1767df4 mscms: Open .icm files only when enumerating color profiles. 2008-01-25 12:08:36 +01:00
Hans Leidekker 72ba2be6c4 mscms: Use NT directory for storing color profiles. 2008-01-25 12:08:29 +01:00
Michael Stefaniuc 2fe189fd09 mscms: Don't produce unreachable code during conditional compilation. 2007-07-25 13:02:36 +02:00
Andrew Talbot 9312f0f974 mscms: Constify some variables. 2007-05-29 12:04:35 +02:00
Eric Pouech 4b88fd842a mscms: GetColorDirectory: fixed incorrect A -> W conversions. 2006-11-09 17:05:39 +01:00
Hans Leidekker 8af7133dfc mscms: Cast-qual warnings fix. 2006-10-05 18:06:41 +02:00
Hans Leidekker 6ea5f65649 mscms: Win64 printf format warning fixes. 2006-10-02 14:32:23 +02:00
Hans Leidekker 6831c8dfcb mscms: Fix famous typo in HeapFree call. 2006-06-19 20:54:04 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker 05b073da0d mscms: Implement EnumColorProfiles{A,W}. 2006-03-08 11:32:18 +01:00
Saulius Krasuckas 9f19f75a54 mscms: One more LastError code fixed. 2006-02-27 12:18:46 +01:00
Saulius Krasuckas ecebfb49ea mscms: Fix four todos for GetStandardColorSpaceProfile[AW]. 2006-02-20 11:13:28 +01:00
Saulius Krasuckas f107125b3b mscms: Fix some wine_todo for GetStandardColorSpaceProfile(). 2006-01-13 14:09:04 +01:00
Hans Leidekker 43179c26f4 mscms: Silence a potentially noisy fixme. 2006-01-06 21:07:55 +01:00
Hans Leidekker bb72a06e54 Make lcms support depend on headers _and_ libraries, not just the
headers.
2005-07-18 15:10:36 +00:00
Hans Leidekker d3447022e1 Link directly to liblcms.
Fix typo in test.
2005-07-15 10:09:43 +00:00
Hans Leidekker eea3109770 Fix color directory handling. 2005-07-05 10:56:52 +00:00
Vincent Béron 81bda71e9a Don't reference c:\windows directly. 2005-04-11 18:49:40 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Hans Leidekker 639a87cb6e - Implementation stubs for GenerateCopyFilePaths,
SpoolerCopyFileEvent.
- Call DisableThreadLibraryCalls on process attach.
- Document more functions.
2005-03-09 18:42:52 +00:00
Hans Leidekker a5e361e6b8 - Add support for color transform handles.
- Implement CreateColorTransform{A,W}, CreateMultiProfileTransform,
  DeleteColorTransform.
- Don't depend on lcms for the implementation of
  IsColorProfileTagPresent.
2005-02-21 18:38:15 +00:00
Hans Leidekker 89de92ef26 Implement and test access flags for color profiles.
Write the color profile back to disk when it was opened for writing.
2005-02-14 20:53:59 +00:00
Hans Leidekker c1cd989450 Stub implementations for all documented functions. 2004-12-20 17:04:11 +00:00
Hans Leidekker 3e60f767ef Test and implement SetColorProfileElement.
Document more functions.
2004-12-13 13:23:17 +00:00
Hans Leidekker 8360a3a87e Move ICC profile handling into its own file.
Test GetColorProfileFromHandle and SetColorProfileHeader.
Test and partially implement {G,S}etStandardColorSpaceProfile{A,W}.
Improve existing tests and fix any bugs they revealed.
2004-12-07 14:42:47 +00:00
Hans Leidekker 7c98f01159 Infrastructure for handling ICC profiles.
Always load color profiles into memory.
Implement and test GetColorProfileElement and GetColorProfileHeader.
Implement GetColorProfileFromHandle and SetColorProfileHeader.
2004-11-30 21:06:14 +00:00
Hans Leidekker 9db71b35d8 Implement and test GetColorProfileElementTag,
GetCountColorProfileElements and IsColorProfileTagPresent. Stub
GetStandardColorSpaceProfile{A,W}.
2004-11-21 15:48:18 +00:00
Hans Leidekker 1233834ed0 Implement IsProfileValid.
Document all functions.
2004-11-19 18:22:20 +00:00
Hans Leidekker dca6bdf5c4 Improve {Uninstall,Install}ColorProfile{A,W}.
Better tests for these functions.
2004-11-03 22:14:25 +00:00
Francois Gouget b2e8b36e50 Flesh out the icm.h header (add COLORMATCHSETUP & co) so it is
necessary to first include winuser.h like on Windows.
2004-10-22 19:56:51 +00:00