Commit Graph

241 Commits

Author SHA1 Message Date
Nikolay Sivov 9f16a0883d mlang: Forward ConvertString() to IMultiLanguage3 implementation. 2012-09-26 17:10:05 +02:00
Nikolay Sivov 97e30dfe70 mlang: Implement IMLangConvertCharset_DoConversionFromUnicode(). 2012-09-26 17:09:59 +02:00
Nikolay Sivov b8228aaf98 mlang: Ignore MLCONVCHARF_USEDEFCHAR in IMLangConvertCharset_Initialize(). 2012-09-26 17:09:54 +02:00
Nikolay Sivov 42db7e4c1d mlang: Forward GetRfc1766FromLcid() to IMultiLanguage3 implementation. 2012-09-25 11:18:50 +02:00
Nikolay Sivov 55d87c050c mlang: Forward IsConvertible() to IMultiLanguage3 implementation. 2012-09-25 11:18:45 +02:00
Nikolay Sivov 76e12944ed mlang: Forward GetFamilyCodePage() to IMultiLanguage3 implementation. 2012-09-25 11:18:39 +02:00
Nikolay Sivov db1cd7eba8 mlang: Forward GetNumberOfCodePageInfo() to IMultiLanguage3 implementation. 2012-09-25 11:18:34 +02:00
Nikolay Sivov fdaf6df67a mlang: Move IUnknown implementation to IMultiLanguage3 interface implementation and forward to it. 2012-09-25 11:18:25 +02:00
Nikolay Sivov 406c431109 mlang: Implemented IMLangConvertCharset_DoConversionToUnicode. 2012-09-25 11:17:23 +02:00
Nikolay Sivov 031f3ca167 mlang: Implement get source/dest codepages for IMLangConvertCharset. 2012-09-24 22:27:26 +02:00
Nikolay Sivov ed42bf08db mlang: Store source and destination codepage ids in IMLangConvertCharset_Initialize. 2012-09-24 22:27:26 +02:00
Nikolay Sivov f5edf34c6c mlang: Added IMLangConvertCharset stub. 2012-09-24 22:27:25 +02:00
Michael Stefaniuc 34ed785ff0 mlang: COM cleanup for the IClassFactory iface. 2012-08-20 15:00:09 +02:00
Nikolay Sivov 64e94c22c9 mlang: Call interface methods properly. 2012-08-20 10:59:06 +02:00
Michael Stefaniuc 3a51439fc9 mlang/tests: Simplify the "pointer to start of array" idiom. 2012-07-26 12:11:03 +02:00
Francois Gouget 68bd1ae628 mlang/tests: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:43 +01:00
Frédéric Delanoy 241ccd9ab9 mlang/tests: Fix a typo. 2011-10-19 16:38:52 +02:00
Dan Kegel f91c8578bb mlang/tests: Don't call lstrcpyW on a null string. 2011-10-18 16:24:29 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Michael Stefaniuc c39fb845ea mlang: COM cleanup. 2011-05-04 18:01:18 +02:00
Austin English 5ed5f21d02 mlang/tests: Remove win9x hacks. 2011-02-28 13:12:41 +01:00
Dmitry Timoshkov 15c322c235 mlang: GetGlobalFontLinkObject() takes a non-zero number of arguments. 2011-02-17 17:41:23 +01:00
Austin English e9316ed8ec mlang/tests: Remove unused assignment (LLVM/Clang). 2011-02-08 14:45:54 -06:00
Alexandre Julliard 0508dff006 mlang: Convert dll registration to the IRegistrar mechanism. 2010-12-07 13:25:18 +01: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
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard 71678645ad mlang/tests: Fix some nasty #ifdef syntax. 2010-05-31 12:14:28 +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 51c0314951 mlang/tests: Add another possible failure for Win2k. 2010-02-23 11:26:32 +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
Alexandre Julliard d8d70020d8 mlang/tests: Fix a test failure on Win2k. 2010-02-05 11:50:24 +01:00
Detlef Riekenberg 69b0b5e096 mlang: Print a FIXME only for unused parameter. 2010-01-07 17:59:57 +01:00
Gregor Schneider 3fa550b532 mlang: Change EnumRfc1766_create return values to error codes. 2009-12-14 12:04:06 +01:00
Alexandre Julliard 89bf94c00d mlang/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:41 +02:00
Paul Vriens d61f18ef06 mlang/tests: Prevent messing up the codepages on Win98. 2009-07-03 14:28:50 +02:00
Hans Leidekker 48efa30050 mlang: Add a test for IMultiLanguage2_IsCodePageInstallable. 2009-07-02 11:29:50 +02:00
Hans Leidekker c2eee9f5fc mlang: Implement IMultiLanguage2_IsCodePageInstallable. 2009-07-02 11:29:44 +02:00
Hans Leidekker 69bc0174e5 mlang: Implement IMLangFontLink2_GetFontUnicodeRanges. 2009-06-26 16:06:45 +02:00
Hans Leidekker fb0d79aece mlang: Implement IMLangFontLink2_CodePageToScriptID. 2009-06-26 16:06:43 +02:00
Dmitry Timoshkov 3bd36c8419 mlang: Make it possible to build the mlang test with PSDK. 2009-06-25 14:34:14 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Detlef Riekenberg ab19612922 mlang: Implement IMultiLanguage_GetNumberOfCodePageInfo, with test. 2009-06-19 14:51:58 +02:00
Detlef Riekenberg 957f52b4f3 mlang/tests: Some old IE versions truncate one character too short. 2009-06-18 15:17:28 +02:00
Paul Vriens 3a5a79ff75 mlang/tests: Fix a test failure on Win95. 2009-06-15 13:42:27 +02:00
Detlef Riekenberg e51dc8f2d3 mlang: Implement IMultiLanguage_GetRfc1766Info. 2009-06-12 17:33:15 +02:00
Detlef Riekenberg 79d981b676 mlang/tests: Store the expected results for GetRfc1766Info as Unicode. 2009-06-11 13:23:26 +02:00
Detlef Riekenberg 0e1d18eaf5 mlang/tests: Fix a failure on win98 with mlang 4.72. 2009-06-09 17:01:14 +02:00
Detlef Riekenberg 9dd58897ca mlang/tests: Add tests for IMultiLanguage2_GetRfc1766Info. 2009-06-08 15:27:08 +02:00
Detlef Riekenberg ec8bb185c6 mlang: Implement IMultiLanguage2_GetRfc1766Info. 2009-06-08 15:21:58 +02:00
Detlef Riekenberg fc813b9ec3 mlang/tests: Fix failures with IE 5.5 and below. 2009-06-08 15:21:46 +02:00
Detlef Riekenberg 722bc5a864 mlang: Avoid unneeded HeapReAlloc.
Our current code enumerates 145 Rfc1766 entries, so use a more
resonable start value.
2009-06-01 16:16:05 +02:00
Detlef Riekenberg 6eec511798 mlang/tests: Add tests for LcidToRfc1766. 2009-06-01 16:16:05 +02:00
Detlef Riekenberg 68e1735acf mlang: Check output pointer for NULL. 2009-06-01 16:16:05 +02:00
Detlef Riekenberg 596f8d67a0 mlang: Suppress country data in rfc1766, with tests. 2009-06-01 16:16:04 +02:00
Detlef Riekenberg e84ae0e720 mlang: Return HRESULT from lcid_to_rfc1766 helper. 2009-06-01 16:16:04 +02:00
Detlef Riekenberg 6c827fa8c1 mlang/tests: Make the tests more silent. 2009-05-27 12:56:00 +02:00
Detlef Riekenberg 4e9f7899a4 mlang: Use a case independent compare for the RFC1766 name. 2009-05-27 12:55:53 +02:00
Detlef Riekenberg 98435dc7ed mlang/tests: Rfc1766ToLcid must not touch the LCID output on failure. 2009-05-27 12:55:43 +02:00
Detlef Riekenberg f4def21f57 mlang/tests: Return correct result in Rfc1766ToLcidA on failure. 2009-05-27 12:55:16 +02:00
Detlef Riekenberg 7bc167ac15 mlang/tests: Initial tests for Rfc1766ToLcid. 2009-05-27 12:54:58 +02:00
Detlef Riekenberg 7317a96616 mlang/tests: Use a table for testing GetLcidFromRfc1766. 2009-05-27 12:53:01 +02:00
Alexandre Julliard 2a48ef1d09 mlang: Return the correct count in IMLangFontLink_GetStrCodePages when aborting early. 2009-05-14 20:09:53 +02:00
Michael Stefaniuc d8b4dd7ab6 mlang: Change long to LONG in mlang.idl. 2009-03-11 13:03:31 +01:00
Michael Stefaniuc 7d35ba645e mlang: Remove superfluous pointer casts.
The casts are already part of the CONTAINING_RECORD macro.
2009-03-04 12:07:20 +01:00
Michael Stefaniuc f75f4e431f mlang: Silence some Win64 compile warnings.
If the flag TCI_SRCFONTSIG is not set then the first argument passed
to TranslateCharsetInfo is just a DWORD that needs to be marshalled
over a pointer.
2009-03-04 12:07:20 +01:00
Dmitry Timoshkov b86552f58d mlang: Implement IMLangFontLink_GetStrCodePages. 2009-02-25 16:06:35 +01:00
Aric Stewart ec7ba645dd mlang: Handle non Japanese case in ConvertUnknownJapaneseToUnicode. 2009-02-05 13:13:37 +01:00
Dmitry Timoshkov 0d65421b99 mlang: Get rid of ICOM_THIS_MULTI macro. 2009-02-04 12:26:13 +01:00
Hans Leidekker 29c0f7e714 mlang: Export a couple of functions by ordinal. 2009-02-02 11:58:45 +01:00
Hans Leidekker 34a3d21354 mlang: Implement IMLangFontLink2_GetScriptFontInfo. 2009-02-02 11:56:09 +01:00
Aric Stewart 70131341c7 mlang: Implementation of base functionality of IMultiLanguage2::ValidateCodePage and IMultiLanguage2::ValidateCodePageEx.
Does not handle automatically installing language packs.
With help from Dmitry Timoshkov.
2009-01-30 12:18:33 +01:00
Michael Stefaniuc 8dbc7a699e mlang: Remove superfluous pointer casts. 2009-01-19 12:46:41 +01:00
Alexandre Julliard c2cef54ea0 mlang/tests: Fix a pointer casting warning on 64-bit. 2009-01-03 20:13:37 +01:00
Hans Leidekker 63aff890d7 janitorial: Remove unneeded user32 imports. 2008-12-17 11:38:36 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Francois Gouget 766c6deaf7 mlang/tests: Make strstrW() static. 2008-12-15 12:25:31 +01:00
Vitaly Perov d2a9bcd199 mlang/tests: Add tests for fnIMLangFontLink_GetCharCodePages. 2008-11-28 13:47:08 +01:00
Vitaly Perov 4398c51f1e mlang: Add implementation of fnIMLangFontLink_GetCharCodePages. 2008-11-28 13:47:03 +01:00
Francois Gouget 194fd077de mlang: Remove WINAPI on static functions where not needed. 2008-11-28 12:54:42 +01:00
Ricardo Filipe eb45cae5db mlang: Fixed dead stores (llvm/clang). 2008-11-18 13:06:39 +01:00
Hans Leidekker 5ce2dfcabb mlang: Implement IMultiLanguage2::ConvertStringInIStream. 2008-11-18 11:52:50 +01:00
Andrew Talbot 59a33c9c7d mlang: Sign-compare warnings fix. 2008-10-17 11:42:39 +02:00
Michael Stefaniuc a25649b829 mlang/tests: Remove superfluous backslashes at end of lines. 2008-10-16 11:28:17 +02:00
Aric Stewart f2dbaeff64 mlang/tests: Make sure a given codepage has 'abc' before depending on that conversion to detect if a codepage is convertable. 2008-10-10 12:27:09 +02:00
Aric Stewart 52b2b5b7b0 mlang: Correct use of uninitialized rfcstr value (Coverity 796). 2008-10-02 10:29:52 -05:00
Aric Stewart 99c23ccf35 mlang/tests: windows 2008's version of mlang E_FAILs when you pass in a rgelt in IEnumCodePage::Next. 2008-10-01 13:50:37 -05:00
Aric Stewart 4e8dcf89e9 mlang/tests: Skip testing a codepage returning the buggy, legacy unicodeFEFF charset (only appears to exist on windows 2008). 2008-10-01 13:50:21 -05:00
Aric Stewart c209245f17 mlang/tests: GetLastError may not be set if Japanese conversions fail with S_FAIL so do not require that to skip the Japanese tests. 2008-10-01 13:47:59 -05:00
Aric Stewart 86de5c2546 mlang/tests: Some versions of native mlang return E_FAIL when source string is NULL and a source length is supplied. 2008-10-01 13:47:35 -05:00
Aric Stewart b91783c341 mlang/tests: IMultiLanguage2_GetRfc1766FromLcid can return S_FALSE on partial name matching so deal with this properly. 2008-10-01 13:47:13 -05:00
Huw Davies 0c590201d8 mlang: Forward IMultiLanguage_GetCharsetInfo to IMultiLanguage3_GetCharsetInfo. 2008-09-11 14:35:05 +02:00
Aric Stewart 38901f08c6 mlang: Expand stub of fnIMLangFontLink2_GetStrCodePages. 2008-09-10 10:39:17 +02:00
James Hawkins e57badb667 mlang: Remove a test that fails on all systems. 2008-09-03 13:14:50 +02:00
Dmitry Timoshkov 59e2155432 mlang: Remove debugging stuff. 2008-08-04 13:06:56 +02:00
Dmitry Timoshkov 0786923e32 mlang: Do not use MAX_PATH for not path related things. 2008-08-04 13:06:44 +02:00
Dmitry Timoshkov 253a6971a3 mlang: Remove noise from mlang test output. 2008-08-04 13:06:25 +02:00
Dmitry Timoshkov cfe0f97067 mlang: Add a test for a CodePageToCodePages failure, make it pass under Wine. 2008-08-04 13:06:14 +02:00
Paul Vriens c03dfb8f50 mlang/tests: Skip tests for unsupported code page identifiers. 2008-08-04 13:01:27 +02:00