Commit Graph

232 Commits

Author SHA1 Message Date
Michael Stefaniuc 032af1923c mlang/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:18 +02:00
Francois Gouget f81f7f4749 mlang/tests: Add a trailing '\n' to ok() calls.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 16:34:23 +01:00
Nikolay Sivov 523e07da5c mlang/tests: Add some return value checks (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:14 +01:00
Ziqing Hui 5083f2a589 mlang: Fix font name of code page families.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:25:03 +01:00
Ziqing Hui 8e7cac3882 mlang/tests: Add a test code page for each code page family.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 10:24:58 +01:00
Ziqing Hui a7ba456587 mlang/tests: Add MapFont tests.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:53 +01:00
Ziqing Hui a93c2aea7e mlang: Implement IMLangFontLink_MapFont, IMLangFontLink_ReleaseFont and IMLangFontLink_ResetFont.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:47 +01:00
Ziqing Hui 98d35d97c7 mlang: Implement IMLangFontLink2_MapFont, IMLangFontLink2_ReleaseFont and IMLangFontLink2_ResetFont.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:45 +01:00
Ziqing Hui 88cc2d114a mlang: Add more Chinese code pages support.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:32 +01:00
Ziqing Hui 1f88a35a90 mlang: Fix font name of Chinese code pages.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:30 +01:00
Ziqing Hui 4d84d0bc2f mlang/tests: Add IMultiLanguage2_GetCodePageInfo tests.
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-09 16:59:28 +01:00
Bernhard Übelacker 6f3b45d2fb mlang/tests: Test IMultiLanguage_GetCharsetInfo with malformed charsets.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 22:09:52 +09:00
Francois Gouget c0a9a8b410 mlang: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-30 11:56:52 +09:00
Jactry Zeng 25d999d965 mlang/tests: Simplify test with todo_wine_if.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:29 +09:00
Michael Stefaniuc ef8db24b9c mlang/tests: Avoid always true ok() checks (PVS-Studio). 2014-12-22 16:59:18 +01:00
Hans Leidekker e11f91ed8d mlang: Add a stub implementation of IMultiLanguage3::DetectOutboundCodePageInIStream. 2014-12-18 18:59:38 +01:00
Huw Davies 48c36db40c mlang: Accept "ascii" as an alias for "us-ascii". 2014-11-07 14:00:34 +09:00
Hao Peng be089ba2ee mlang: Add gbk to Chinese Simplified codepage. 2014-10-24 19:58:05 +09: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
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Hans Leidekker 8c08faba49 mlang: Improve IMLangLineBreakConsole::BreakLineA for the ASCII codepage. 2013-11-27 11:29:56 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Frédéric Delanoy 2042a6598c mlang: Use BOOL type where appropriate. 2013-10-07 13:32:06 +02:00
Francois Gouget 28139bceeb mlang/tests: We already link with mlang.dll so there is no need to do a LoadLibrary() on it. 2013-07-03 21:20:04 +02:00
Alexandre Julliard ed8a38d400 mlang: Don't bother to free thread local storage at process exit. 2013-05-16 12:51:26 +02:00
Michael Stefaniuc 5de81e24bb mlang: Remove left over "stub" from a TRACE(). 2013-04-18 16:59:40 +02:00
Andrew Talbot ce41fc0441 mlang: Avoid signed-unsigned integer comparisons. 2013-02-13 10:19:18 +01:00
Detlef Riekenberg cd804dab29 mlang/tests: Accept the different translation in win8. 2012-12-10 20:30:31 +01:00
Nikolay Sivov 5f3e754935 mlang: Rename IMultiLanguage3 method implementation functions to match interface name. 2012-10-01 12:09:25 +02:00
Nikolay Sivov ea2b24d861 mlang: Move GetStrCodePages() to IMLangFontLink2 and forward to it. 2012-10-01 12:09:11 +02:00
Nikolay Sivov a67b97ce56 mlang: Move GetCharCodePages() to IMLangFontLink2 and forward to it. 2012-10-01 12:09:01 +02:00
Nikolay Sivov 233fb7b3b5 mlang: Move CodePageToCodePages() to IMLangFontLink2 and forward to it. 2012-10-01 12:08:53 +02:00
Nikolay Sivov 810ceb86c6 mlang: Mode CodePagesToCodePage() code to IMLangFontLink2 and forward to it. 2012-09-28 11:28:15 +02:00
Nikolay Sivov b7eb9c234e mlang: Move GetFontCodePages() code to IMLangFontLink2 and forward to it. 2012-09-28 11:28:08 +02:00
Nikolay Sivov d442f5fffa mlang: Use proper interface call instead of implementation function. 2012-09-28 11:28:02 +02:00
Nikolay Sivov 8e7006025c mlang: Forward ConvertStringFromUnicode() to IMultiLanguage3 implementation. 2012-09-28 11:27:56 +02:00
Nikolay Sivov 7fe26a9515 mlang: Forward GetLcidFromRfc1766() to IMultiLanguage3 implementation. 2012-09-28 11:27:51 +02:00
Nikolay Sivov 1ed2bd14b7 mlang: Forward ConvertStringReset() to IMultiLanguage3. 2012-09-26 17:10:17 +02:00
Nikolay Sivov c8c624a9c3 mlang: Forward ConvertStringToUnicode() to IMultiLanguage3 implementation. 2012-09-26 17:10:12 +02:00
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