Hans Leidekker
5442ddc78d
mscms: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 10:57:17 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Daniel Lehman
daa0e3019f
mscms: Fix uninitialized variable warning.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-24 21:32:36 +01:00
Alexandre Julliard
5c4c272a26
mscms: Use the bundled lcms2.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-19 11:33:05 +02:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Lauri Kenttä
d6b67604cb
mscms: Allow any COLORTYPE translation equally.
...
If we assume that trying a color translation is at least as good as
just returning FALSE, then there's no point in cheching COLORTYPE.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52:57 +01:00
Lauri Kenttä
6a307a0953
mscms: Support COLOR_CMYK to COLOR_3_CHANNEL translation.
...
It doesn't seem to matter whether COLOR_3_CHANNEL is mapped to
TYPE_RGB or TYPE_CMY, so I've left it as TYPE_RGB as is the default.
This makes Purple Pen orienteering map app usable (colors, not B/W).
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52:57 +01:00
Michael Stefaniuc
d8b26261e9
mscms/tests: Inline a simple string.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 11:25:18 +01:00
Michael Stefaniuc
e32d62df43
mscms: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 11:25:18 +01:00
Alexandre Julliard
e06ae69d2c
mscms: Install the sRGB color profile.
...
Based on a patch by Alex Henrie.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37396
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 21:14:29 +01:00
Alexandre Julliard
42cb8e8027
mscms/tests: Avoid depending on the exact Microsoft color profile.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 11:05:39 +01:00
Alexandre Julliard
11fb2a5918
mscms: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 17:19:44 +01:00
Alexandre Julliard
daf9f12850
mscms: Move liblcms support to a new Unix library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 17:19:44 +01:00
Alexandre Julliard
881dad6503
mscms: Implement profile tag functions without relying on liblcms2.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 17:19:44 +01:00
Alexandre Julliard
a9a08dbc3d
libwine: Remove wine/library.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 16:26:17 +02:00
Vijay Kiran Kamuju
a0e4dbcfd5
mscms: Add stub for WcsGetDefaultRenderingIntent.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48541
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:23:37 +01:00
Vijay Kiran Kamuju
87e14f6102
mscms: Add stub for WcsGetDefaultColorProfileSize.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48541
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:23:28 +01:00
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