Jon Griffiths
97fc6c3a06
Oops - VT_EMPTY->VT_RECORD is not allowed.
2003-12-11 05:25:59 +00:00
Jon Griffiths
17ce98503b
Test almost all of the low level variant functions
2003-12-11 05:25:44 +00:00
Jon Griffiths
7e40baadc1
Reimplement/document every low level variant function.
...
Implement DECIMAL, I8, UI8 types and other missing conversions.
VariantChangeType: Use LOCALE_USER_DEFAULT as per MSDN.
VariantChangeTypeEx: Support new types, pass proper flags.
VarNumFromParseNum: Support VT_DECIMAL as output.
2003-12-11 04:28:20 +00:00
Andrew de Quincey
8b773b125a
Upwards traversal of inheritance tree didn't occur for dispatch
...
interfaces.
2003-12-10 00:38:17 +00:00
Jon Griffiths
27db93dc6a
Fix a couple of tests for w2k (Russian).
2003-12-10 00:37:35 +00:00
Jon Griffiths
85602c218d
Fix the tests to pass when locale settings are user-overriden.
...
Fix those tests which pass now.
Test copying, formatting, VarAbs, VarNot.
2003-12-09 00:05:53 +00:00
Jon Griffiths
7e7ca4ac95
Implement conversions between dates and strings.
...
Remove the final cruft associated with the old date code
BPB's: Roll milliseconds correctly; LOCALE_NOUSEROVERRIDE for num
parsing.
Implement VarAbs and VarNot.
2003-12-09 00:05:31 +00:00
Jon Griffiths
dce7644bdc
Add hash tables for all supported languages.
...
Remove some useless includes.
2003-12-02 03:51:10 +00:00
Marcus Meissner
236ad0df3c
Use correct pointer for SysFreeString.
2003-12-01 22:36:49 +00:00
Alexandre Julliard
5f8223670a
Porting fixes.
2003-11-28 23:19:30 +00:00
Dimitrie O. Paun
99bf92e338
SysReAllocStringLen is documented to segfault on NULL pointer.
2003-11-26 03:35:16 +00:00
Jon Griffiths
392cbdf7b8
Tests for the non-variant date conversion functions.
2003-11-25 01:50:10 +00:00
Jon Griffiths
4f0f1d9253
Improve/shrink variant dumping code.
2003-11-25 01:49:48 +00:00
Jon Griffiths
d537c955bc
Implemented the variant formatting functions.
...
Bool->bstr makes a number str unless [ALPHA|LOCAL]BOOL is passed.
2003-11-25 01:49:31 +00:00
Jon Griffiths
f9bca5eaf7
Macros for dumping a variants type and flags.
...
Fix the date inlines.
Round negative numbers with fractional parts > 0.5 correctly.
2003-11-25 01:48:51 +00:00
Ivan Leo Murray-Smith
15a9d28707
Added/updated Italian resources.
2003-11-19 02:14:44 +00:00
Dmitry Timoshkov
1fa82e51c2
Apply same magic to LibAttr.lcid from MSFT to SLTG.
2003-11-18 00:02:25 +00:00
Jon Griffiths
136fa03fbf
Implement the non-variant date conversions correctly, without going
...
through 'struct tm' first. Handle negative & 'rolling' dates too.
2003-11-14 21:01:36 +00:00
Jon Griffiths
2f558b53f1
Add some missing prototypes/defines.
...
OaBuildVersion() returns a ULONG, not UINT.
2003-11-14 21:01:15 +00:00
Jon Griffiths
bb61fe35a2
Dump a few more known variant types.
...
Don't call DateToTM() - it's going away soon.
2003-11-14 20:59:46 +00:00
Gerald Pfeifer
5cc4b3ba16
Removed dead code in VarDateFromUI2().
2003-11-09 01:21:04 +00:00
Marcelo Duarte
8defcd386c
Localization to the Portuguese of Brazil.
2003-11-05 23:27:01 +00:00
Marcus Meissner
49eaa0db2b
Do not coerce arguments of ITypeLib::Invoke in-place, or we get
...
corrupted variants.
Handle V_ARRAY | something -> VT_SAFEARRAY, as this is a NOP.
2003-11-03 22:13:05 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Alexandre Julliard
81db03dd61
The imported typelib name must be converted to Unicode.
2003-10-16 19:09:41 +00:00
Jon Griffiths
cc83d9addc
Add resources for boolean strings in several languages.
2003-10-15 20:50:24 +00:00
Gerald Pfeifer
0974c154cb
Remove unused variables mdays, months, days, and DateStyle.
2003-10-14 20:10:16 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Jon Griffiths
9194267814
Documentation update.
2003-10-10 23:33:59 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Jon Griffiths
72d7e5b10d
Tests for recent variant changes.
2003-10-03 04:34:34 +00:00
Jon Griffiths
166e96d11f
Add VarParseNumFromStr()/VarNumFromParseNum(), use them for
...
conversions.
VariantInit(): Only touch V_VT field.
VariantClear(): Support IRecordInfo, don't free null bstrs.
Add support for upcoming vtypes, remove dead code, docs.
2003-10-03 03:36:46 +00:00
Francois Gouget
224063f033
Some spelling fixes.
...
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
Jon Griffiths
67d1c0884f
Document BSTR functions, add SetOANoCache().
2003-09-24 05:12:52 +00:00
Marcus Meissner
995389ef57
_nrroffuncs: Check for error before dereferencing returned pointer.
2003-09-22 19:21:32 +00:00
Alexandre Julliard
1084a8ba93
Moved out of windef.h a few definitions that don't belong there
...
(reported by Filip Navara).
2003-09-17 04:31:27 +00:00
ccfca3cbc4
Use SysAllocStringByteLen/SysStringByteLen to copy BSTR variants.
2003-09-16 01:03:34 +00:00
Mike Hearn
0307701201
Implement dispatch variant marshalling.
2003-09-12 00:22:55 +00:00
Francois Gouget
68ea3623b8
Modify winetest_ok to only add a trailing '\n' if there is none.
...
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Alexandre Julliard
20c169e0a4
Fixed a few more headers dependency issues.
2003-09-09 19:39:31 +00:00
Mike McCormack
8d61c96d64
Create a propper stub for oleaut32.VarMod.
2003-09-08 18:37:22 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
81c31701d2
Avoid including wine/obj_*.h files directly from C files.
...
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Alexandre Julliard
2385079814
Warning fix.
2003-08-28 21:52:20 +00:00
Mike Hearn
6e9f278602
Implemented a typelib loader cache.
2003-08-28 19:44:08 +00:00
Alexandre Julliard
864ca06832
winnls.h must not include winbase.h.
2003-08-20 18:22:31 +00:00
Robert Reif
d316a045da
Fixed Warblade image loading.
2003-08-18 19:53:23 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Alexandre Julliard
20698b22df
Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
...
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Jon Griffiths
58422dc83c
Add a bunch of missing stuff.
...
Use proper types for SafeArray/variant prototypes.
Change I1 functions to take signed chars
2003-07-18 22:52:58 +00:00