Commit Graph

166 Commits

Author SHA1 Message Date
Frédéric Delanoy 6ef5ae801d mscms/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Hans Leidekker d2c9e5560a mscms: Let liblcms2 determine input and output format for transform profiles. 2015-08-06 23:36:03 +09: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
Michael Stefaniuc de092c6bd3 mscms/tests: Simplify the check for an empty string (PVS-Studio). 2014-11-17 19:30:22 +09:00
Marcus Meissner 7ce613c3c2 mscms: Removed duplicate return ret (Coverity). 2014-06-17 09:06:52 +02:00
Hans Leidekker 5752d48353 mscms/tests: Fix test failures on Wine when color profiles are present. 2014-03-21 20:31:57 +01:00
Alexandre Julliard 8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Austin English 77f871ab7c mscms: Make missing lcms2 an error, not a fixme. 2014-01-27 14:13:43 +01:00
Hans Leidekker 190878d92d mscms: Print a fixme when compiled without support for liblcms2. 2014-01-03 17:01:22 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 685b931c2a mscms: Use BOOL type where appropriate. 2013-11-12 12:58:03 +01:00
Hans Leidekker fcd4527ea9 mscms/tests: Compile with -D__WINESRC__. 2013-10-14 16:05:31 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +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
Alexandre Julliard 47302fd29d mscms: Don't bother to free memory at process exit. 2013-05-15 10:23:06 +02:00
Alexandre Julliard 9ddd30d11c configure: Add a pkg-config check for liblcms. 2013-05-06 15:55:18 +02:00
Nikolay Sivov 3f3404d248 mscms: Free memory and handle on error path (Coverity). 2013-04-01 12:32:37 +02:00
Michael Stefaniuc 184f167b19 mscms: Use assignment instead of memcpy to copy structs. 2013-01-24 15:38:53 +01:00
Hans Leidekker 641a6e6c45 mscms: Handle more bitmap formats. 2012-11-13 16:54:53 +01:00
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