Commit Graph

144 Commits

Author SHA1 Message Date
André Hentschel
f796f967e2 mscms: Remove unneeded shadow variable. 2012-04-18 17:12:16 +02:00
Hans Leidekker
2cbb384440 mscms/tests: Pass profiles names as parameters instead of using global variables. 2012-02-05 09:37:53 -06:00
Hans Leidekker
0cf1bdf96e mscms: Use the return values of GetStandardColorSpaceProfileW and GetColorDirectoryW (clang). 2012-02-05 09:37:36 -06:00
Francois Gouget
3abbbb2556 mscms: Delete the static critical section when unloading the dll. 2011-11-16 17:02:47 +01: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
Marcus Meissner
bb8466eb00 mscms: Mark internal symbols as hidden. 2011-05-02 12:37:28 +02:00
Jerome Leclanche
41838721fc mscms: Move MSCMS_dbgstr_tag outside of the HAVE_LCMS conditional. 2011-04-05 13:36:56 +02:00
Marcus Meissner
933b3af981 mscms: Added missing breaks (Coverity). 2011-04-04 11:51:23 +02:00
Marcus Meissner
aca1b275aa mscms: Fixed bad sizeof() (Coverity). 2011-04-04 11:46:09 +02:00
Hans Leidekker
8800772f2d mscms: Trace the CMM id as a string. 2011-03-30 13:28:05 +02:00
André Hentschel
39c4aa1168 mscms/tests: Fix test message. 2010-12-31 11:43:07 +01:00
Michael Stefaniuc
038fbe23cc mscms: Don't produce unreachable code with #ifdef (Smatch). 2010-10-26 11:53:59 +02:00
Hans Leidekker
872fded817 mscms: Fix a memory leak in TranslateColors. 2010-10-18 19:08:37 +02:00
Alexandre Julliard
730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Hans Leidekker
46fb926501 mscms/tests: Mark some win98 test results as broken. 2010-08-18 15:29:38 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Hans Leidekker
7c05c62419 mscms/tests: Avoid accessing uninitialized memory.
Found by valgrind.
2009-10-21 17:04:12 +02:00
Alexandre Julliard
fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02:00
Paul Vriens
2c2d0a4160 mscms/tests: Fix some test failures on Win98 and WinME. 2009-09-10 10:50:40 +02:00
Hans Leidekker
82aa18f666 mscms/tests: Remove code that mixes up color space IDs and standard color space IDs. 2009-09-02 14:40:59 +02:00
Hans Leidekker
b6ffca256e mscms: Use correct standard color space constants in GetStandardColorSpaceProfileW. 2009-09-02 14:40:48 +02:00
Hans Leidekker
12dac70a32 mscms: Handle errors from lcms more gracefully.
Default behavior of lcms is to abort the process when it encounters
an error it considers fatal, such as a corrupt color profile.
2009-03-05 13:26:16 +01:00
Hans Leidekker
ec87dfde50 mscms: Accept REG_DWORD values when enumerating registered color profiles.
Fixes test failures on Vista.
2009-03-04 13:06:16 +01:00
Michael Stefaniuc
c36ce23795 mscms: Remove superfluous pointer casts. 2009-01-19 12:46:42 +01:00
Ge van Geldorp
1f62d85496 mscms/tests: Pass correct device name to AssociateColorProfileWithDevice(). 2009-01-05 16:43:10 +01:00
Detlef Riekenberg
991c76525f mscms: Quiet a noisy fixme. 2008-10-21 13:22:50 +02:00
Paul Vriens
2188248598 mscms/tests: Fix a typo. 2008-10-21 11:43:22 +02:00
Austin English
c71a89c597 mscms: Undefine HIWORD to avoid a conflict. 2008-09-23 12:24:59 +02:00
Andrew Talbot
da1a84f6e4 mscms: Remove unneeded address-of operator from array name. 2008-07-11 14:06:15 +02:00
James Hawkins
f564ed5f1f mscms: Only check the first three characters of the color space name. 2008-06-25 10:42:50 +02:00
Huw Davies
31666b311d mscms: Fix compilation without lcms. 2008-03-25 16:16:00 +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
Rob Shearman
48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
James Hawkins
00394486df janitorial: Remove links to any microsoft site. 2008-03-01 12:03:59 +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
Alexandre Julliard
5ddcb2c1d3 mscms/tests: The tests shouldn't fail if we have some ICM files. 2008-02-27 14:52:26 +01:00
Dmitry Timoshkov
b9bea18cfe mscms: Allow compilation without LCMS installed. 2008-02-26 11:20:58 +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
dbdf9278e8 mscms: Add tests for AssociateColorProfileWithDevice and DisassociateColorProfileFromDevice. 2008-02-25 11:54:39 +01:00
Hans Leidekker
88ba6a6658 mscms: Implement AssociateColorProfileWithDevice and DisassociateColorProfileFromDevice. 2008-02-25 11:54:35 +01:00
Francois Gouget
331bac4d00 mscms/tests: The presence of an ICM file in the color directory has nothing to do with the presence of a registered RGB profile. 2008-02-18 14:10:44 +01:00
Francois Gouget
e681508591 mscms/tests: EnumColorProfiles() should not fail even if there are no ICM files in the 'color directory'. 2008-02-18 14:10:41 +01:00