Commit Graph

160 Commits

Author SHA1 Message Date
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
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Andrew Talbot dc3dd4784d mscms/tests: Write-strings warnings fix. 2006-07-21 10:52:50 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Hans Leidekker 6831c8dfcb mscms: Fix famous typo in HeapFree call. 2006-06-19 20:54:04 +02:00
Kevin Koltzau 146e6b8b69 mscms: Fix 64bit warnings. 2006-06-19 09:21:12 +02:00
Alexandre Julliard 1369719d2c mscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:27 +02:00
Saulius Krasuckas 3692219db4 mscms: Eliminate complex test macro to make source navigation easier. 2006-06-13 11:40:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker 1d491aedba mscms: Add tests for EnumColorProfiles{A,W}. 2006-03-08 11:32:26 +01:00
Hans Leidekker 05b073da0d mscms: Implement EnumColorProfiles{A,W}. 2006-03-08 11:32:18 +01:00
Saulius Krasuckas 9f19f75a54 mscms: One more LastError code fixed. 2006-02-27 12:18:46 +01:00
Saulius Krasuckas ecebfb49ea mscms: Fix four todos for GetStandardColorSpaceProfile[AW]. 2006-02-20 11:13:28 +01:00
Saulius Krasuckas 44e942fbb1 mscms: Branching fixes for some test routines 2006-02-20 11:12:53 +01:00
Saulius Krasuckas 76f66cc78f mscms: Distinguish between registered and unregistered profile IDs. 2006-02-16 19:32:58 +01:00
Saulius Krasuckas 8aee2f2951 mscms: Move 4 test macros into a single one. 2006-02-14 17:12:32 +01:00
Saulius Krasuckas 2f7504e717 mscms: Check an appropriate registry key. 2006-01-19 12:44:02 +01:00
Saulius Krasuckas 191f21c7d4 mscms: Collect some data during profile enumeration. 2006-01-16 20:42:24 +01:00
Saulius Krasuckas f107125b3b mscms: Fix some wine_todo for GetStandardColorSpaceProfile(). 2006-01-13 14:09:04 +01:00
Saulius Krasuckas 7a044cb365 mscms: Make two checks more strict in the case of success. 2006-01-13 14:08:45 +01:00
Saulius Krasuckas d37d5cd51d mscms: Make enumerating more verbose. 2006-01-13 13:52:21 +01:00
Saulius Krasuckas 6aa3d8a443 mscms: Null ID can make GetStandardColorSpaceProfile*() succeed. 2006-01-12 11:53:12 +01:00
Saulius Krasuckas dc2cdf13a4 mscms: Set the last error code to an unusual value. 2006-01-11 12:10:56 +01:00
Saulius Krasuckas ab113d7e59 mscms: Enumerate registered standard colorspace profiles. 2006-01-10 19:59:02 +01:00
Hans Leidekker 43179c26f4 mscms: Silence a potentially noisy fixme. 2006-01-06 21:07:55 +01:00
Saulius Krasuckas 975ffe8abc mscms: Test only one invalid GetStandardColorSpaceProfile() param in a
single check.
2005-12-21 20:07:42 +01:00
Paul Vriens 49f137b666 mscms: Add another possible error. 2005-12-15 10:25:19 +01:00
Saulius Krasuckas 2302d2b470 mscms: Move repetitive code to helper macros. 2005-12-13 18:12:34 +01:00
Paul Vriens 95888acbe4 mscms: Add another possible error. 2005-12-12 18:13:02 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Saulius Krasuckas f40b5938a2 Be more strict and verbose while testing
GetStandardColorSpaceProfile().
2005-11-23 15:20:04 +01:00
Saulius Krasuckas f807e0017e Don't call unicode functions of file API as they fail on Win9x. 2005-11-18 16:51:30 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Vincent Béron 7160af007c Uniformize DllMain TRACEing across dlls. 2005-08-15 10:48:51 +00:00
Hans Leidekker bb72a06e54 Make lcms support depend on headers _and_ libraries, not just the
headers.
2005-07-18 15:10:36 +00:00
Paul Vriens 463a655c4a Set size before calling pSetColorProfileElement. 2005-07-18 09:08:43 +00:00
Hans Leidekker d3447022e1 Link directly to liblcms.
Fix typo in test.
2005-07-15 10:09:43 +00:00
Hans Leidekker f0d9fe7854 Dynamically load mscms. 2005-07-07 17:22:47 +00:00
Hans Leidekker ea86dc9581 Fail loading when compiled without lcms support. 2005-07-06 19:11:46 +00:00
Hans Leidekker eea3109770 Fix color directory handling. 2005-07-05 10:56:52 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Vincent Béron 81bda71e9a Don't reference c:\windows directly. 2005-04-11 18:49:40 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Steven Edwards ed212f728d Correct CheckBitmapBits entry. 2005-03-14 10:04:56 +00:00
Hans Leidekker 639a87cb6e - Implementation stubs for GenerateCopyFilePaths,
SpoolerCopyFileEvent.
- Call DisableThreadLibraryCalls on process attach.
- Document more functions.
2005-03-09 18:42:52 +00:00
Hans Leidekker 3137566631 - Implement TranslateBitmapBits.
- Don't pass bogus intent values to lcms.
2005-03-08 19:00:14 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Hans Leidekker a5e361e6b8 - Add support for color transform handles.
- Implement CreateColorTransform{A,W}, CreateMultiProfileTransform,
  DeleteColorTransform.
- Don't depend on lcms for the implementation of
  IsColorProfileTagPresent.
2005-02-21 18:38:15 +00:00
Hans Leidekker 89de92ef26 Implement and test access flags for color profiles.
Write the color profile back to disk when it was opened for writing.
2005-02-14 20:53:59 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Hans Leidekker c1cd989450 Stub implementations for all documented functions. 2004-12-20 17:04:11 +00:00
Francois Gouget eb3f078c75 Add trailing '\n's to ok() calls. 2004-12-14 11:41:24 +00:00
Hans Leidekker 3e60f767ef Test and implement SetColorProfileElement.
Document more functions.
2004-12-13 13:23:17 +00:00
Hans Leidekker 8360a3a87e Move ICC profile handling into its own file.
Test GetColorProfileFromHandle and SetColorProfileHeader.
Test and partially implement {G,S}etStandardColorSpaceProfile{A,W}.
Improve existing tests and fix any bugs they revealed.
2004-12-07 14:42:47 +00:00