Commit Graph

162 Commits

Author SHA1 Message Date
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
Aric Stewart a4b636f10a mlang: Japanese conversion tests. 2008-07-29 11:49:27 +02:00
Aric Stewart db726e4165 mlang: Correct and fill out Japanese locale information.
Implement Japanese auto detect, JIS and EUC encoding conversions to
Unicode and back. These conversions are not done in code pages but are
simple algorithms.
2008-07-23 12:41:16 +02:00
Aric Stewart 75d44fe46d mlang: A very basic implementation of the IMLangLineBreakConsole interface and IMLangString interface. 2008-07-22 15:26:53 +02:00
Aric Stewart 0d7d5ebf3b mlang: Stub implementation of IMLangFontLink2. 2008-07-17 12:30:00 +02:00
Aric Stewart 36a1ee762f mlang: Basic implementation of fnIMultiLanguage2_GetCodePageDescription. 2008-07-17 12:27:29 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins 8b2bfbb778 mlang: Encode all the way to the NULL terminator. 2008-07-08 11:15:21 +02:00
James Hawkins 6e313864e8 mlang: Add tests for ConvertINetMultiByteToUnicode. 2008-07-08 11:15:16 +02:00
James Hawkins 4e3ce9f887 mlang: Reimplement ConvertINetMultiByteToUnicode. 2008-07-08 11:15:12 +02:00
Michael Stefaniuc a0beda8f86 mlang: Fix compile warning introduced by a6cdd538. 2008-06-05 11:24:53 +02:00
Alexandre Julliard a6cdd538f5 mlang/tests: Reduce the size of the test output a little. 2008-06-04 12:52:13 +02:00
James Hawkins 03a7ddb73c mlang: Fix all test failures for NT+ platforms. 2008-05-22 12:46:18 +02:00
James Hawkins 94459b88d4 mlang: Only return the locale language name if no country name exists. 2008-05-22 12:46:14 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Dmitry Timoshkov 2182d4600a mlang: Implement Rfc1766ToLcidA. 2008-03-19 11:18:51 +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
Rob Shearman 5a11999b86 mlang: Implement Rfc1766ToLcidW. 2008-01-14 15:31:37 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Hans Leidekker b0c9e753d5 mlang: Fix buffer size calculation. 2007-11-08 13:13:34 +01:00
Hans Leidekker 90d76060c4 mlang: Free SCRIPTINFO structure embedded in EnumScript object. 2007-11-08 13:11:48 +01:00
Hans Leidekker 9b3ec4fbb8 mlang: Release EnumRfc1766 object. 2007-11-08 13:11:43 +01:00
Lionel_Debroux 333451411b mlang: Fix memory leaks in error paths (found by Smatch). 2007-09-27 12:00:27 +02:00
Lionel_Debroux 8ae0d17d59 mlang: Fix memory leaks in error path (found by Smatch). 2007-09-27 12:00:20 +02:00
Stefan Leichter e8ce143fe4 mlang: Remove 'recursive registry key delete' function. 2007-08-27 19:28:11 +02:00
Hans Leidekker 4167e09f48 mlang: Implement IMultiLanguage::GetLcidFromRfc1766. 2007-06-07 11:59:56 +02:00
Rob Shearman f21e9c2aa8 mlang: Implement ConvertINetString. 2007-05-24 11:35:54 +02:00
Andrew Talbot 303aeee4cb mlang: Exclude unused headers. 2007-05-10 12:23:24 +02:00
Andrew Talbot a96340becb mlang/tests: Replace inline static with static inline. 2007-03-21 22:51:54 +01:00
Marcus Meissner efe2ee560e mlang/tests: Protect from 1 byte static buffer overflow. 2007-03-02 12:11:00 +01:00
Hans Leidekker 4275a093c1 mlang: Implement IMultiLanguage::GetCodePageInfo. 2007-01-22 12:02:24 +01:00
Francois Gouget 7f0b93eabc mlang/tests: Replace some '#if 0's with 'if (0)'s. 2007-01-08 12:09:12 +01:00
Dmitry Timoshkov ff90dbc086 mlang: Implement LcidToRfc1766 and GetRfc1766FromLcid. 2006-11-28 12:37:23 +01:00
Kovács András bdb6b74a2f mlang: Set fnIMLangFontLink_GetStrCodePages stub return values. 2006-10-25 12:14:31 +02:00
Michael Ploujnikov 7b048bdc0f mlang/tests: Win64 printf format warning fixes. 2006-10-11 12:09:21 +02:00
Michael Stefaniuc f5c67be3ae mlang: Win64 printf format warning fixes. 2006-10-10 11:56:35 +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
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Jacek Caban 1119794806 mlang: Added IMultiLanguage3 interface stub implementation. 2006-08-23 20:08:56 +02:00
Francois Gouget a050bebd80 mlang: Give the CLSIDs their proper names.
Move CLSID_CMultiLanguage and CLSID_CMLangConvertCharset to mlang.idl.
Leave CLSID_CMLangString in regsvr.c as MSDN claims it is not supported anymore.
2006-08-09 20:37:02 +02:00
Francois Gouget 0c1586e8f0 mlang: Fix the 'Multi Language String' CLSID: there is no {44EC053A-B70D-11D0-B188-00AA0038C969} CLSID in the Windows registry. 2006-08-08 11:16:40 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +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
Michael Stefaniuc 00e779370f janitorial: Put "inline static" at the beginning of a declaration. 2006-07-07 14:30:35 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Alexandre Julliard be4dccb33f mlang/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:52 +02:00
Robert Shearman abc0f385a3 mlang: Return S_OK from fnIMultiLanguage2_SetMimeDBSource.
The source is largely irrelevant since we are not likely to be wanting
to ship updates to the MIME database as registry updates, instead of
just changing the code.
2006-06-13 11:40:20 +02:00
Robert Shearman 0d1456ca30 mlang: Add us-ascii encoding to the list of supported encodings. 2006-06-13 11:40:20 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Vitaly Lipatov c0901b899b mlang: Partially implemented ConvertStringEx. 2006-05-07 10:01:18 +02:00
Alexandre Julliard 19a3adb958 mlang: Decrement the module refcount when an object is destroyed. 2006-03-06 20:10:36 +01:00
Christian Gmeiner ad4af1264f mlang: Implement DllCanUnloadNow. 2006-03-04 16:12:07 +01:00
Dmitry Timoshkov ef35d28999 mlang: Implement IEnumRfc1766 interface. 2005-12-06 10:58:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Aric Stewart fbecb0c319 Implement a basic beginning for fnIMLangFontLink_CodePageToCodePages,
fnIMLangFontLink_CodePagesToCodePage and
fnIMLangFontLink_GetFontCodePages.
Also some tests for the new functions.
2005-09-28 11:58:47 +00:00
Mike McCormack dc1c62a592 Fix gcc 4.0 warnings. 2005-09-07 11:31:17 +00:00
Vincent Béron 21e3ba8cd1 Correct mismatches between spec files and comments about export
number.
2005-08-10 09:53:47 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Mike McCormack 0791d06215 Interlocked LONG* gcc warning fixes. 2005-07-12 19:21:36 +00:00
Vitaly Lipatov 06ce892008 Changes stub to FIXME for GetGlobalFontLinkObject. 2005-06-27 11:10:16 +00:00
Hans Leidekker 3459709379 Remove ntdll from imports. 2005-06-04 09:36:12 +00:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +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
Stefan Leichter 1a7a4fbe58 Make mlang_test.exe loadable on NT 4.0. 2005-03-14 21:41:27 +00:00
Francois Gouget dd073bbb3f Cast the GetProcAddress() return value to avoid warnings about the
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Oleh R. Nykyforchyn 62b94d89bd Ukrainian codepage 21866 added and respective files corrected. Two
keyboard layouts (for Ukrainian and Russian) added.
2005-01-19 20:59:31 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Huw Davies e8d89cd0f5 Fix a reference leak on failure (spotted by Rob Shearman).
Move some code over to the Interlocked* functions.
2004-09-28 19:19:27 +00:00
Dmitry Timoshkov 0ee1407d3f Make mlang return the same code page descriptions as Windows, some
applications depend on it.
2004-09-22 19:13:50 +00:00
Mike McCormack 79418b45f0 Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null. 2004-09-15 18:03:02 +00:00
Mike McCormack ec72244849 Use Interlocked* functions in AddRef and Release. 2004-09-14 17:44:14 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Francois Gouget 6825ed811d Added missing trailing '\n's to ok() calls. 2004-09-02 20:09:37 +00:00