Commit Graph

1625 Commits

Author SHA1 Message Date
Jeremy Drake c8a4983ed9 oleaut32: Fix handling of negative fractional variant dates.
The integer part is the number of days to be added to the epoch
(1899-12-30), and the fractional part (disregarding sign) represents
the fraction of that day that has elapsed.
2010-10-07 12:00:28 +02:00
Jeremy Drake 25118e5383 oleaut32/tests: Test conversion of ambiguous DATE values.
For 0.0 < x < 1.0, DATE values x and -x represent the same date/time:
30-Dec-1899 at some time determined by x.  When converting from DATE,
either value is accepted.  When converting to DATE, the positive value
is produced.
2010-10-07 12:00:28 +02:00
Jeremy Drake 293b8be4e1 oleaut32/tests: Added tests for negative fractional variant dates. 2010-10-04 15:00:07 +02:00
Luca Bennati 0cbc51d681 oleaut32: Update Italian translation. 2010-09-28 12:57:17 +02:00
Piotr Caban f4ef2d6e02 oleaut32: Set dialog size in dialog box units in OleCreatePropertyFrame. 2010-09-27 14:10:44 +02:00
Piotr Caban 9ccbadc9a8 oleaut32: Added OleCreatePropertyFrameIndirect implementation.
Based on patch written by Geoffrey Hausheer.
2010-09-27 14:10:44 +02:00
Piotr Caban 9c9baf4da1 oleaut32: Execute OleCreatePropertyFrameIndirect in OleCreatePropertyFrame.
Based on patch written by Geoffrey Hausheer.
2010-09-27 14:10:44 +02:00
Piotr Caban b32c3102d2 oleaut32: Rename stubs.c file. 2010-09-27 14:10:44 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Michael Stefaniuc ec382f4345 oleaut32: The function pointer should be const and not the return value. 2010-09-07 17:59:14 +02:00
Alexandre Julliard 70103aadc8 oleaut32/tests: Fix a pointer cast warning. 2010-09-01 14:01:04 +02:00
Alexandre Julliard 8dc1c2cad5 oleaut32: Use float instead of long in the spec file for 32-bit floating point values. 2010-08-31 14:23:48 +02:00
Alexandre Julliard 2c9a98223d oleaut32: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Francois Gouget b462bc223a oleaut32/tests: Fix compilation on systems that don't support nameless unions. 2010-08-30 11:26:46 +02:00
Alexandre Julliard a0a4667fde oleaut32: Add tests for DispCallFunc and fix a number of corner cases. 2010-08-26 12:35:31 +02:00
Alexandre Julliard 21abfc5355 oleaut32: Implement DispCallFunc for x86_64. 2010-08-25 16:18:50 +02:00
Alexandre Julliard 3c380daa59 oleaut32: Simplify the i386 implementation of DispCallFunc. 2010-08-25 16:17:10 +02:00
Nikolay Sivov f7b2add8d9 oleaut32/olepicture: Remove out pointer check in OleCreatePictureIndirect, it should crash. 2010-08-25 11:59:27 +02:00
Nikolay Sivov b8f99cabb4 oleaut32/olepicture: Fix a typo in height conversion. 2010-08-25 11:59:06 +02:00
Francois Gouget 88cae5d4c7 Assorted spelling fixes. 2010-08-24 15:22:35 +02:00
Nikolay Sivov b5a8c33182 oleaut32/olepicture: No need to check interface pointer in vtable methods. 2010-08-23 13:37:02 +02:00
Nikolay Sivov 32c2ef6c97 oleaut32/olepicture: Fix assumptions about S_OK value. 2010-08-23 13:37:02 +02:00
Nikolay Sivov 99863b02ba oleaut32/olepicture: Properly round while performing pixels->himetric units conversion. 2010-08-23 13:37:02 +02:00
Andrew Eikum b85cb1b865 oleaut32: Implement decoding for complex typedescs. 2010-08-23 11:51:39 +02:00
Andrew Eikum 6868fe8643 oleaut32: Implement ITypeInfo2::GetFuncDesc. 2010-08-23 11:51:33 +02:00
Andrew Eikum 3788a080cf oleaut32: Improve MEMBERID assignment in ICreateTypeInfo::LayOut. 2010-08-23 11:51:10 +02:00
Andrew Eikum 471475ec28 oleaut32: Properly mask size from funcdesc typedata.
The high word of a funcdesc's typedata[0] is used for other data and needs
to be masked out.
2010-08-23 11:50:53 +02:00
Andrew Eikum 7fcea36a82 oleaut32: Improve ITypeInfo::ReleaseTypeAttr. 2010-08-23 11:49:36 +02:00
Andrew Eikum 3f13a07b47 oleaut32: Implement ITypeInfo2::ReleaseFuncDesc. 2010-08-23 11:49:32 +02:00
Jacek Caban 7d7586d358 oleaut32: Try both SYS_WIN64 and SYS_WIN32 syskind in QueryPathOfRegTypeLib on win64. 2010-08-20 13:21:01 +02:00
Andrew Eikum 9d3e2f1b51 oleaut32: Implement ITypeInfo2::GetCustData. 2010-08-19 11:16:40 +02:00
Andrew Eikum 9c53c8e7b3 oleaut32: Ensure that CyclicList nodes have a type.
Some code checks against the type of a CyclicList node, so we should
make sure that it's always initialized.
2010-08-19 11:16:34 +02:00
Andrew Eikum a8dbeb1e60 oleaut32: Overwrite previous CustData segment.
This eliminates the diff between Wine's and Windows XP's generated TLB
files.
2010-08-19 11:16:25 +02:00
Andrew Eikum a0c0d2693d oleaut32: Use correct bitpattern if referenced type is not user defined.
This reduces the diff between the TLB file output by Wine and Windows XP
when running the typelib test module.
2010-08-19 11:16:20 +02:00
Andrew Nguyen ce8c450d83 oleaut32/tests: Test typelib registration in the user registry. 2010-07-30 14:59:42 +02:00
Andrew Nguyen f2610a6109 oleaut32: Partially implement UnRegisterTypeLibForUser. 2010-07-30 14:59:42 +02:00
Andrew Nguyen f4fa417be9 oleaut32: Partially implement RegisterTypeLibForUser. 2010-07-30 14:59:41 +02:00
Huw Davies baef9a7e92 oleaut32: Don't invoke a function that has the restricted attribute or is part of an interface that's marked as restricted. 2010-07-29 17:33:36 +02:00
Michael Stefaniuc c165fd743c oleaut32: Use IsEqualGUID instead of memcmp to compare GUIDs. 2010-07-28 12:22:00 +02:00
Michael Stefaniuc bd132fed1e oleaut32/tests: Use IsEqualIID instead of memcmp to compare REFIIDs. 2010-07-23 11:46:34 +02:00
Michael Stefaniuc e5cb4fde64 oleaut32: Remove the ignored common resource attributes. 2010-07-22 11:41:40 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Andrey Turkin 9fd7f392dc oleaut32: Better handle secondary type when generating type descriptors. 2010-07-20 14:40:31 +02:00
Andrey Turkin fe7e384e07 oleaut32: Add support for const variables. 2010-07-20 14:40:31 +02:00
Andrey Turkin eb03917935 oleaut32: Reuse existing function to encode custom data. 2010-07-20 14:40:31 +02:00
Alexandre Goujon 14db6a802c oleaut32/typelib: Fix ITypeInfo_Invoke with restricted keyword. 2010-07-20 12:35:51 +02:00
Andrew Eikum 3173305e88 oleaut32: Don't fail if member is missing in ITypeComp::Bind. 2010-07-19 14:38:17 +02:00
Vincent Povirk 6799aaf34a oleaut32: Add test for dibs vs. ddbs in IPicture. 2010-07-19 11:10:01 +02:00
Ken Sharp f4537f0c98 oleaut32: Add Welsh resource. 2010-07-05 12:59:47 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00