Commit graph

311 commits

Author SHA1 Message Date
Dmitry Timoshkov
56f8e274c7 Added new language detection scheme that uses NLS data base instead of
hard coded values.
2000-08-20 03:39:41 +00:00
Alexandre Julliard
c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard
c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Hidenori Takeshima
5ec92ada17 Fix for calling ctype functions with Unicode characters. 2000-08-06 03:36:35 +00:00
Alexandre Julliard
cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
bea617be47 Moved GUID definitions to their respective dll. 2000-08-03 04:22:35 +00:00
Dmitry Timoshkov
a0f0138c2a LOCALE_NOUSEROVERRIDE means: do not get user redefined settings from
the registry. Instead, use system default values.
2000-08-03 00:24:33 +00:00
Dmitry Timoshkov
f1fd89db42 FindResourceExA/W should search for the specified language resource only.
FindResourceA/W should search for any language resource.
2000-07-29 00:01:57 +00:00
Alexandre Julliard
ce4784d8a5 Made --language behave the same as setting the LANGUAGE environment
variable.
2000-07-15 19:59:10 +00:00
Dmitry Timoshkov
961053fd2f Moved all NLS dependent data to the KERNEL resources. 2000-07-10 13:11:27 +00:00
Dmitry Timoshkov
7415c21e00 Complete NLS values for Russian language. 2000-07-08 11:48:24 +00:00
Dmitry Timoshkov
3c53612129 Remove duplicates in the NLS files. 2000-07-08 11:48:03 +00:00
Bertho Stultiens
8dd8d30b7d Commented out IsBadWritePtr check. Makes winhlp32.exe happy in
extended search.
2000-06-13 03:37:31 +00:00
Alexandre Julliard
5ea22474bb Use the Unicode string functions from wine/unicode.h instead of the
crtdll ones.
2000-06-13 01:10:29 +00:00
Zoran Dzelajlija
846880b7e6 Basic Croatian language support. 2000-05-30 20:50:45 +00:00
Dimitrie O. Paun
ecd921e551 Separate OLE2NLS out of KERNEL. 2000-05-07 18:30:44 +00:00
Alexandre Julliard
77f07cceaa Henning Hoffmann (of Macadamian for Corel)
Implemented SetLocaleInfo(). It required a change to GetLocaleInfo()
as well, because GetLocaleInfo() has to get any values saved by
SetLocaleInfo() in the registry.
2000-05-05 18:15:11 +00:00
Owen Wang
7b080ec258 Added further implementation of WINAPI EnumDateFormats() to support
three more locales: German(standard), French(standard) and French
(canadian). All date formats follow conventions from Windows NT 4.0
2000-04-15 20:36:43 +00:00
Alexandre Julliard
c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Owen Wang
3c30bba357 Implemented API EnumTimeFormatsA(). It supports now all different
English locales, as well as German(standard), French(standard) and
French(Canadian).  All time formats follow conventions in Windows NT 4.0

Haithem Hmida (of Macadamian for Corel)
Implemented GetCurrencyFormatA() API:
- GetCurrencyFormatA() calls GetNumberFormatA() to format the number
  (as a positive one), then formats the number depending on
  NegativeOrder/PositiveOrder fields.
- GetNumberFormatA() has been slightly modified.
2000-04-06 20:13:32 +00:00
Alexandre Julliard
ef76a1c97d Michael Abd-El-Malek (Corel)
Changed irl.nls to eni.nls. Reviewed and fixed a lot of the NLS files
to be more compatible to Windows.
Added en_GB (used by Corel Linux 1.0,1.1) as alias for en_UK.

Jeff Tranter <jefft@corel.ca>
The measurement unit for Canadian English should be metric.
LANG_SUB_ENTRY did always return the first language due to missing {}.
2000-04-04 18:53:37 +00:00
Patrik Stridvall
2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Patrik Stridvall
d628f43693 Fixed some ANSI C violations. 2000-03-24 20:42:08 +00:00
Andrew Lewycky
c03da6680d Improved CompareStringA performance. 2000-03-19 21:51:41 +00:00
Steven Elliott
c1a700c4da Temporarily implemented the LCMAP_SORTKEY flag in the LCMapStringW()
function pending a more complete implementation of locales.
2000-03-19 21:48:52 +00:00
Alexandre Julliard
9b59da0dd9 Misc small cleanups. 2000-03-18 22:25:41 +00:00
Patrik Stridvall
0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Hidenori Takeshima
c4857a87b6 Japanese support implemented. 2000-02-25 21:40:10 +00:00
Steven Elliott
5e1ea6e51e Stubbed out the implementation of LCMAP_SORTKEY in LCMapStringW() in
order to allow Windows 9x Perl to start.
2000-02-25 21:39:38 +00:00
James Abbatiello
1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Alastair McKinstry
33536e2753 Added support for the following celtic languages: Irish Gaelic, Scots
Gaelic, Manx Gaelic, Breton, Welsh, Cornish.
2000-02-16 21:21:51 +00:00
Jeremy White
d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Julio César Gázquez
05e81574f7 GetNumberFormatA implementation added. 2000-02-03 01:03:49 +00:00
Rein Klazes
ae26a07459 EnumSystemLocalesA should look for registry values, not subkeys. 1999-12-20 04:05:58 +00:00
Dimitrie O. Paun
dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Juergen Schmied
bb3929c6c3 Added some constants for Spanish. 1999-12-05 23:02:04 +00:00
Eric Pouech
3f15f8165d Removed invalid LCMapString fixme for NORM_IGNOREKANATYPE case. 1999-11-25 22:03:21 +00:00
Niels Kristian Bech Jensen
1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Andreas Mohr
8ced881592 Implementation of RegisterNLSInfoChanged. 1999-11-07 19:24:47 +00:00
Eric Pouech
febd2db82e Added some missing definitions. 1999-10-13 12:25:40 +00:00
Dennis Bjorklund
5b2415da69 Added some values that were missing in the Swedish nls file. 1999-09-20 15:26:06 +00:00
Ulrich Weigand
2a722f498a Moved bulk of OLE implementation to dlls/ subdirectories. 1999-09-19 18:36:53 +00:00
Patrik Stridvall
311e456a64 Added support for anonymous structs/unions on compilers that implement it. 1999-09-19 14:20:33 +00:00
Ulrich Weigand
3467dab377 Move VerLanguageName[AW] back to base (exported from KERNEL32 ...). 1999-09-19 12:15:58 +00:00
Juergen Schmied
e4fbab5752 Added stub for OLE32.DllGetClassObject. 1999-09-19 12:06:46 +00:00
Marcus Meissner
66e8c4eef8 Added stub for RegisterActiveObject(). 1999-09-10 13:52:12 +00:00
Noel Borthwick
2970067b14 - Implement interprocess clipboard communication.
- Support for the PRIMARY and CLIPBOARD selection atoms.
- Support for the TARGETS selection format.
- Expose native Windows clipboard formats through X selection targets.
1999-09-03 15:17:57 +00:00
Eric Pouech
cf9395af34 Only declare DateStyle in a single compilation unit. 1999-08-21 13:10:22 +00:00
Rein Klazes
b101a5c6e5 Fixed typelib reading to correctly use the offset of the typelib that
is embedded in for example a dll file.
1999-08-21 13:08:27 +00:00
Michael Veksler
4405f3c369 Removed unnecessary includes from ole related files. 1999-08-18 18:35:57 +00:00
Ulrich Weigand
708a1c03f9 Adapted to WOW changes. 1999-08-18 18:32:21 +00:00
Alexandre Julliard
7b246b88a2 Removed RCS keyword. 1999-08-15 14:33:24 +00:00
Alexandre Julliard
89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Patrik Stridvall
0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Patrik Stridvall
b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Patrik Stridvall
478eee17be Eliminated warnings. 1999-07-31 13:13:23 +00:00
Andreas Mohr
95fd3cd43b Implemented CoRevokeClassObject stub needed by Acrobat 3 16 bit. 1999-07-30 17:56:38 +00:00
Juergen Schmied
c3d30faf0c Let CoCreateInstance use LOAD_WITH_ALTERED_SEARCHPATH. 1999-07-25 11:20:15 +00:00
Albert den Haan
dcbb9c0f4c Declare only one instance of GUID_NULL. 1999-07-24 10:20:50 +00:00
Noel Borthwick
557ff419be Implemented the OLE Clipboard API. 1999-07-18 15:43:45 +00:00
Dave Pickles
2bddc97774 GetTimeFormat() should return LocalTime not SystemTime. 1999-07-10 11:38:20 +00:00
Thuy Nguyen
71b327f13e It is possible for a stream to have both small block and big block
chain as NULL.
1999-07-10 10:13:50 +00:00
Alexandre Julliard
359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Marcus Meissner
6230a87fb8 Check for complete lcid or just the primary language id in the
registry lookups (fixes one FirstClassClient 32 problem).
1999-07-04 12:47:53 +00:00
Marcus Meissner
a8c54fb8af OleMetaFilePictFromIconAndLabel16: slightly broken, use LPOLESTR16. 1999-06-27 15:27:22 +00:00
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Andreas Mohr
102e1f46e2 Kind of implemented OleMetaFilePictFromIconAndLabel. 1999-06-26 10:28:53 +00:00
Alexander Kanavin
f26c89e83a Standard dialog boxes resources and OLE strings are now in cp1251 encoding
Font mapper does not anymore use fonts in -koi8-r encoding
Font mapper now recognises fonts in -windows-* encodings (these are
provided by xfstt TrueType server)
Font mapper now sees max 16384 fonts (was 2048)
1999-06-22 19:14:40 +00:00
Andreas Mohr
1597d735ef Added COMPOBJ.DllEntryPoint (Acrobat3 16bit needs it). 1999-06-22 19:10:52 +00:00
Eric Pouech
13a30bace7 Thou shalt not use C++ comments. 1999-06-22 19:09:55 +00:00
Pablo Saratxaga
66f53a8a8b Walloon language update. 1999-06-18 17:05:55 +00:00
Francis Beaudet
98231044e3 Fixed a problem with the LoadTypeLib method. 1999-06-12 08:20:30 +00:00
Marcus Meissner
c137ba6ee2 Fixed TLB_Read (can easily get count!=bytesread at the end of the file).
Fixed TLB_FindTlb (strstr on binary data will not work).
1999-06-07 17:41:37 +00:00
Paul Quinn
aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Rein Klazes
713462dfc4 Read/load type libraries. Implementation of ITypeLib, ITYpeInfo,
ITypeLib2 and ITypeInfo2 methods.
1999-06-05 12:00:13 +00:00
Rein Klazes
3e9608df2a Allow NULL as argument to SysFreeString in accordance with SDK. 1999-06-05 11:53:33 +00:00
Paul Quinn
2305f3c06d Microsoft com vtable compatibility workaround for g++. Basically adds
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +00:00
Francis Beaudet
9c8198742b Bug fix. 1999-05-12 10:36:17 +00:00
Patrik Stridvall
1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Francis Beaudet
809abaab19 Second part of the OLE datacache implementation. 1999-05-08 10:55:32 +00:00
Thuy Nguyen
115d8ccaab Implemented GetHGlobalFromStream. 1999-05-08 10:48:44 +00:00
Thuy Nguyen
ed1d88b610 Implementation of IStorage supported by an implementation of
ILockBytes on top of an HGLOBAL.
1999-05-08 10:05:08 +00:00
Thuy Nguyen
ad7e9c4cef Implemented OleTranslateColor. 1999-05-08 09:37:59 +00:00
Alexandre Julliard
06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Francis Beaudet
ec2edc7ee4 Fixed a few bugs in the OLE storage implementation, added a new set of
trace statements for the OLE storage related methods and introduced a
new debug channel for the storage subsystem.
1999-05-02 11:41:10 +00:00
Francis Beaudet
ebdea25edc Implemented the OLE object default handler and data cache. 1999-05-02 09:27:08 +00:00
Thuy Nguyen
89fd2dd1e8 Implemented CreateILockBytesOnHGloba, GetHGlobalFromILockBytes and
the ILockBytes interface based on an HGLOBAL.
1999-05-01 10:36:07 +00:00
Francis Beaudet
c40ad9bb2b Fixed a bug in CoRegisterClassObject. 1999-05-01 10:32:32 +00:00
Francis Beaudet
6ee9a5e718 Fixed a little Drag and Drop bug. 1999-05-01 10:10:30 +00:00
Patrik Stridvall
a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Francis Beaudet
4f8b5a85c4 Implemented CreateStreamOnHGLOBAL. 1999-04-24 12:00:31 +00:00
Andreas Mohr
5c385be532 Let CoSetState() accept state == NULL. 1999-04-24 11:57:30 +00:00
Patrik Stridvall
0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Francis Beaudet
9bf93c6e19 Added a check for a NULL pointer in CoFreeUnusedLibraries. 1999-04-22 09:10:16 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Michael Veksler
d785aa646f Simplify propertyNameCmp() and fix a warning in the way by removing
CRTDLL__wcsupr() calls.
1999-04-18 09:30:07 +00:00
Pablo Saratxaga
002106ac22 Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po
-> Pt; to conform to standard names for those languages).
1999-04-16 09:06:58 +00:00
Stephane Lussier
07e242f4a3 Implementation of IStorage::CopyTo and IStream::CopyTo. 1999-04-15 15:47:48 +00:00
Michael Veksler
2ff8485bf9 Fix IStorage16_fnStat() to use STATSTG16 (it is a 16 bit interface). 1999-04-11 12:10:49 +00:00
Francis Beaudet
0c12f37afd Implemented the CoCreateInstanceEx method. 1999-04-11 12:01:08 +00:00