Commit Graph

245 Commits

Author SHA1 Message Date
Eric Pouech 9de5da92f1 mlang/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 10:37:17 +01:00
Eric Pouech 7af1a3808c mlang: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 11:04:19 +01:00
Fabian Maurer 9178825fc9 mlang/tests: Avoid "misleading indentation" warnings.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:20 +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
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
Francois Gouget 237befbe4d mlang/tests: Fix the check for non-English locales in test_GetCodePageInfo().
The strings returned by GetCodePageInfo() depend on the thread's UI
language, not the system locale or the thread's standards and formats
settings.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-06 17:49:06 +02:00
Alexandre Julliard 1331a8ea0f winecrt0: Determine the registration module handle directly in __wine_register_resources().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Michael Stefaniuc 250e6d9f8c mlang: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Serge Gautherie 2dc0758b5d mlang: Fix scripts values in fnIMLangFontLink2_GetScriptFontInfo().
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-17 00:04:12 +02:00
Alexandre Julliard 70644be9df mlang/tests: Get rid of strstrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-26 10:59:43 +01:00
Alexandre Julliard ea992bfd90 mlang: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 08:26:51 +02:00
Jacek Caban 23c0047c81 mlang: Register codepages info in registry.
Outlook 2016 requires Codepage key to exist (it doesn't seem to require
it to be filled).

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 17:43:36 +02:00
Michael Stefaniuc 312cad708b mlang: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 22:39:00 +02:00
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