Mike McCormack
a04b77ddc2
gcc 4.0 warning fixes.
2005-08-08 18:38:29 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Rein Klazes
26771be4da
SafeArrayDestroy() returns success when called with a NULL
...
pointer. Added to the test cases.
2005-01-31 11:31:50 +00:00
Eric Pouech
89f5283432
Some missing const correctness fixes.
2005-01-03 14:50:12 +00:00
Walt Ogburn
bb313c9dbe
SafeArrayDestroyData - keep pointer, don't destroy data if FADF_STATIC
...
is set.
2004-10-19 21:08:02 +00:00
Marcus Meissner
a6584f5eed
SafeArrayGetElement on a VARIANT array does not free the previous
...
VARIANT in the passed pointer. Added testcase.
2004-09-20 19:11:48 +00:00
Alexandre Julliard
25e2a320a7
Don't define BEGIN_INTERFACE in unknwn.h.
2004-08-22 21:38:46 +00:00
Francois Gouget
bf72af30d0
Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
...
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Mike Hearn
f349cbb72b
Move variant code to its own debug channel.
2004-07-04 00:09:11 +00:00
Francois Gouget
359c709d59
Assorted spelling and case fixes.
2004-03-31 20:06:10 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Patrik Stridvall
8f9b09e947
Fixed some issues found by winapi_check.
2004-02-27 21:32:54 +00:00
Marcus Meissner
ff16b32499
SafeArrayRedim: Use the correct size for resize too.
2004-01-12 21:06:30 +00:00
Marcus Meissner
2ac287e875
Copy BSTRs byte wise.
...
Added a testcase for byte wise copy of VT_BSTR variant with
VariantCopy().
2004-01-09 00:58:01 +00:00
Marcus Meissner
042f8953ff
Fixed size calculation on redim if old size was 0.
2003-12-31 18:58:25 +00:00
Marcus Meissner
e12ef562a8
Dimensions with cElements=0 are valid and needed by InstallShield.
...
SafeArrayGetElement: fixed BSTR and LPUNKNOWN handling.
Added testcases for above cases.
2003-12-30 19:06:41 +00:00
Jon Griffiths
c2d6a6b451
Rewrite: Support I8/UI8,RECORD.
...
Store array bounds in the same order as native.
Add CreateEx, CreateVectorEx, VectorFromBstr, BstrFromVector.
2003-12-15 21:08:42 +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
Francois Gouget
56aaea2f43
Spelling fixes.
2003-07-09 02:52:57 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Marcus Meissner
eee3a24dc9
Fixed index handling for multi dimensional arrays.
2003-06-13 16:35:07 +00:00
Robert Shearman
d21e32a04f
Use correct type of pointer in SafeArrayCreateVector to avoid memory
...
corruption. Add traces.
2003-05-19 21:43:20 +00:00
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +00:00
Marcus Meissner
8ff278d25e
Implemented SafeArray{SetIID,GetIID,SetRecordInfo,GetRecordInfo}.
...
Added support for FADF_HAVEIID, FADF_RECORD, FADF_HAVEVARTYPE.
Implemented SafeArrayAllocDescriptorEx and SafeArrayGetVarType
correctly.
Fixed second argument of SafeArrayCopyData (it is just SAFEARRAY*).
Changed allocation to include 16 bytes before the SAFEARRAY (to store
IID/VARTYPE/IRecordInfo*).
VARTYPE -> size array was not indexed correctly.
Added lots of testcases for most functionality.
Added IRecordInfo interface definition.
2003-01-02 23:13:56 +00:00
Marcus Meissner
7c290abd85
Fixed VarBstrCmp/Cat .spec entries.
...
Started regression test for SafeArray functions.
Fixed SafeArrayAllocDescriptor (check bounds, set cDims).
Fixed VARTYPE_SIZE array entries so it matches native.
2002-12-23 02:02:49 +00:00
Alberto Massari
059cffd728
Calling SafeArrayDestroy on a destroyed array should be a no-op.
2002-12-12 22:59:07 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Patrik Stridvall
a3868218d0
Fixed some issues found by winapi_check.
2002-07-19 00:30:16 +00:00
Mike McCormack
b7937afab9
Fixed ordinals to match the Windows values.
...
Added a couple of stubs.
2002-06-20 23:51:21 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Bill Medland
a51ff76b86
A couple of additions.
2002-01-29 02:44:44 +00:00
Ove Kaaven
fbdfef73f6
If SafeArrayGetElement is called on a variant array, initialize
...
destination variant before copying the array element to it, some badly
behaved apps don't seem to do it themselves.
2002-01-02 21:44:49 +00:00
Ove Kaaven
d63cf5f846
Fixed bugs in safe arrays.
...
- enlarging a safe array didn't clear the new entries
- element access only validated the first dimension
- the validation always failed when the array contained 1 element
2001-10-14 16:07:36 +00:00
Ove Kaaven
9f6d5a068b
Variants and safe arrays is now able to copy BSTR swith embedded null
...
characters. Safe arrays now handle BSTRs and variants.
2001-09-21 21:01:31 +00:00
Patrik Stridvall
8b216b3d02
Documentation ordinal fixes.
2001-06-19 18:20:47 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Francois Jacques
de3486dd1c
Updated SafeArrayGetUBound and SafeArrayGetLBound with more sanity
...
checks: an array has at least one dimension.
Updated validCoordinates, where SafeArrayGetLBound was called on
dimension 0.
2000-12-21 20:18:18 +00:00
Andreas Mohr
5448c534f3
Don't fail on pointer address checking when foreign heap.
2000-12-09 03:08:02 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Joerg Mayer
650ba4df23
Move inline and static to the beginning of declarations.
2000-10-29 18:06:04 +00:00
Francois Jacques
e81b63fc9c
Implemented SafeArrayGetVarType.
...
Added a VT_RECORD variant type definition.
2000-07-08 18:30:41 +00:00
Stephane Lussier
fb949605ba
- Fixed a memory corruption in safe arrays when using SafeArrayCopy()
...
function with a SafeArray created with FADF_FIXEDSIZE.
- Added more FADF flags in the .h file.
- FADF flags were defined twice, corrected the situation.
2000-06-18 19:29:40 +00:00
Patrik Stridvall
fcfacb95a7
Added/fixed some documentation reported by winapi_check.
2000-03-24 20:46:04 +00:00
Ulrich Weigand
2a722f498a
Moved bulk of OLE implementation to dlls/ subdirectories.
1999-09-19 18:36:53 +00:00