Commit Graph

125 Commits

Author SHA1 Message Date
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
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
Andrew Talbot aa5905b1db mscms: Remove unneeded casts. 2008-01-11 12:23:54 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Alexandre Julliard 106b900113 mscms/tests: Allocate the profile buffer dynamically to make sure it's large enough. 2007-08-17 12:01:37 +02:00
Michael Stefaniuc 2fe189fd09 mscms: Don't produce unreachable code during conditional compilation. 2007-07-25 13:02:36 +02:00
Paul Vriens 35a10f05bc mscms/tests: Skip tests if we don't have enough rights. 2007-07-13 14:59:52 +02:00
Paul Vriens 761ec5e52b mscms/tests: Fix wrong test for failure. 2007-06-25 11:41:52 +02:00
Paul Vriens 688623d3cb mscms/tests: Don't crash on Vista. 2007-06-25 11:41:37 +02:00
Andrew Talbot 9312f0f974 mscms: Constify some variables. 2007-05-29 12:04:35 +02:00
Andrew Talbot 5c4e38726c mscms: Exclude unused headers. 2007-05-10 12:23:12 +02:00
Hans Leidekker 83f1c1df25 mscms: Fix compilation with the latest lcms header. 2007-03-13 20:31:15 +01:00
Eric Pouech 4b88fd842a mscms: GetColorDirectory: fixed incorrect A -> W conversions. 2006-11-09 17:05:39 +01:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
Hans Leidekker 55e3ecf675 mscms/tests: Win64 printf format warning fixes. 2006-10-12 14:59:21 +02:00
Hans Leidekker 8af7133dfc mscms: Cast-qual warnings fix. 2006-10-05 18:06:41 +02:00
Hans Leidekker 3dbac638b0 mscms: Document the transform functions. 2006-10-05 18:06:37 +02:00
Hans Leidekker eeb206c615 mscms: Restore the preprocessor hack. 2006-10-04 20:55:24 +02:00
Hans Leidekker 6ea5f65649 mscms: Win64 printf format warning fixes. 2006-10-02 14:32:23 +02:00