Commit Graph

123 Commits

Author SHA1 Message Date
Detlef Riekenberg e84ae0e720 mlang: Return HRESULT from lcid_to_rfc1766 helper. 2009-06-01 16:16:04 +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
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 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
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
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
Dmitry Timoshkov cfe0f97067 mlang: Add a test for a CodePageToCodePages failure, make it pass under Wine. 2008-08-04 13:06:14 +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
James Hawkins 4e3ce9f887 mlang: Reimplement ConvertINetMultiByteToUnicode. 2008-07-08 11:15:12 +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
Dmitry Timoshkov 2182d4600a mlang: Implement Rfc1766ToLcidA. 2008-03-19 11:18:51 +01:00
Rob Shearman 5a11999b86 mlang: Implement Rfc1766ToLcidW. 2008-01-14 15:31:37 +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
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
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
Hans Leidekker 4275a093c1 mlang: Implement IMultiLanguage::GetCodePageInfo. 2007-01-22 12:02:24 +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 Stefaniuc f5c67be3ae mlang: Win64 printf format warning fixes. 2006-10-10 11:56:35 +02:00
Jacek Caban 1119794806 mlang: Added IMultiLanguage3 interface stub implementation. 2006-08-23 20:08:56 +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
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
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
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +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
Steven Edwards b1bb722088 Add DllRegisterServer and friends for mlang. 2004-08-30 19:30:17 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Dmitry Timoshkov 9f6f7cc742 Enumerate all available scripts in IMultiLanguage2_EnumScripts, add
fixed/proportional font names into mlang database.
2004-08-23 17:52:42 +00:00
Dmitry Timoshkov 23bd680c41 Implement IMultiLanguage2_GetCharsetInfo, add a test case for it. 2004-08-16 21:08:06 +00:00
Steven Edwards e84b0796b8 Added stubs for LcidToRfc1766[A/W]. 2004-08-16 19:50:13 +00:00
Alexandre Julliard 936198ce45 Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
that use it.
2004-08-13 00:44:22 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Dmitry Timoshkov 8c2ff3ca6d - add stubbed support for IEnumScript interface
- ConvertINetMultiByteToUnicode/ConvertINetUnicodeToMultiByte should
  return required target length if the target buffer is NULL
- add the tests for all the above
- fix IMultiLanguage2 vtable (it was missing ConvertStringFromUnicodeEx)
2004-08-11 18:53:02 +00:00
Dmitry Timoshkov 54c0af651b Implement ConvertINetMultiByteToUnicode, ConvertINetUnicodeToMultiByte
and IsConvertINetStringAvailable by moving common code around, add a
stub for ConvertINetString.
2004-08-06 18:56:46 +00:00
Alexandre Julliard 94a9d33b6c Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added an implementation of mlang.dll and test cases for it.
2004-08-04 18:33:06 +00:00