Commit Graph

176 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 a48955a86b mscms: Map BM_KYMCQUADS to TYPE_KYMC_8.
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 bd755f4f0f mscms: Update spec to Windows 7.
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:32:40 +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
André Hentschel cd55d5dcc9 mscms: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 11:09:45 +01:00
André Hentschel 321b34d66f mscms: Fix some spec file entries.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:42 +01:00
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