Commit Graph

59 Commits

Author SHA1 Message Date
Hans Leidekker 0a1362498d mscms: Set last error on insufficient buffer in EnumColorProfilesA/W.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Hans Leidekker aeec35ab5a mscms: Add a partial implementation of WcsOpenColorProfileA/W.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46708
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Alex Henrie a07e334125 mscms: Turn variables 'slash' and 'spec' into static constants.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Louis Lenders 920b1371ac mscms: Add stub for WcsEnumColorProfilesSize.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45994
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:51 +02:00
Louis Lenders 82c7f7977b mscms: Add stub for WcsGetUsePerUserProfiles.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45861
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-27 16:21:03 +02:00
Michael Stefaniuc 05291bf1af mscms: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Hans Leidekker ee84980895 mscms: Check the return value of a couple of liblcms2 calls. 2015-08-06 23:36:03 +09:00
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